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
kjpetersonkjpeterson 

Lower Heap Size, Deallocate Variables, Garbage Collection?

How does garbage collection work for Apex?  Should we be setting large objects to null or trying to do some kind of manual deallocation of variables to help garbage collection?  Will any of this help keep the heap size down?