You need to sign in to do that
Don't have an account?
Nilesh Borse 9
How heap allocates in salesforce
Hi,
When i through my debug log, i can see the different heap allocates for the same type of varibales, it might be because of the data variables holds but i would like to know in detail how heap allocation works and the heap allocation for different type of variables.
The reason could be your record that you are viewing and those variable holding different amount of memory at runtime.
Check this post that may help you..
http://www.laceysnr.com/break-the-rules-to-avoid-breaking-the-limits/
https://www.sundoginteractive.com/blog/system.limitexception-apex-heap-size-too-large
--
Thanks,
Prashant