function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
suresh p 149suresh p 149 

how many objects we can store in list

Santosh Kumar 348Santosh Kumar 348
Hi Suresh,

You can store only one Object at a time. But you can store as many as records or instance of a object till you don't hit Salesforce Heap size limit which is 6 MB for Developer Edition. So it will depend on data you are storing in List like how many fields and type of data you want to store in that list.

Please refer the similar thread which is already answered:
https://developer.salesforce.com/forums/?id=906F0000000AbRiIAK

Please mark my answer as a solution to your question if it solves your problem.

Regards,
Santosh Kumar