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
AKS018AKS018 

Apex heap size too large Error.

Hi,

 

      I am getting an error : Apex heap size too large, while Exporting the data in to a file.

 

Can you please tell me how to remove this error. Is it possible to export a file regardless  of File Size or number of Records through apex.

SunilKumar.ax1648SunilKumar.ax1648

There's a lot of useful information around heap management in this post from Jeff Douglas:

 

http://blog.jeffdouglas.com/2010/08/16/managing-the-heap-in-salesforce-com/

--
Avidev9Avidev9
Can you post your code ?
This way other developers will be at a better position to help you out