diff --git a/app/models/manager_refresh/inventory_collection.rb b/app/models/manager_refresh/inventory_collection.rb
index <HASH>..<HASH> 100644
--- a/app/models/manager_refresh/inventory_collection.rb
+++ b/app/models/manager_refresh/inventory_collection.rb
@@ -173,9 +173,8 @@ module ManagerRefresh
                          end
       return unless record
 
-      inventory_object = new_inventory_object(record.attributes.symbolize_keys)
-      # TODO(lsmola) get rid of storing objects, they are causing memory bloat
-      inventory_object.object = record
+      inventory_object    = new_inventory_object(record.attributes.symbolize_keys)
+      inventory_object.id = record.id
       inventory_object
     end
Store only id also for find_in_db strategy

Store only id also for find_in_db strategy


(transferred from ManageIQ/manageiq@a<I>c<I>c2b1fac4baca<I>ea<I>f8dbb6dd<I>e<I>)