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
stcforcestcforce 

heap: trying again

i'm writing an email functionality that is likely to have attachments of significant size. Due to this, the heap becomes an increasing concern. While running some future code in the production org (in a future method called from a visualforce page), i recieved the following feedback from my code:

 

"Limit post: 14529108 out of 12000000."

 

Can anyone explain or refer me to an explanation of the heap that accounts for this seemingly odd behaviour.

Thank you.