You need to sign in to do that
Don't have an account?
How to reduce Heap Size()......???
Hi,
I’m facing problem of Heap Size (). Actually what I’m fetching the no. of Attachments and create new Attachment s…. While doing so the Heap Size increases and cross the Governor limits… and produce an error message.
I found that while fetching all the fields of Attachments; no. of size is 80 only but Heap Size increased…
And if I execute the query on Attachment without its Body field Size remains the same and Heap Size also reduced; create the new Attachments.
It means that Heap Size is increase due the Body Field in Attachment…. So please anyone Help/Guide me to overcome the Error of Heap Size (). :smileyhappy: