+ Start a Discussion

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?