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
tbfan6789tbfan6789 

Question on deepclone and heap errors

Currently in Salesforce, we escalate cases by creating a Level 3 parent case and tie it to the existing case via parentID. We have a method in place that will copy the attachments from the child case and place them on the parentcase using deepclone. Just recently we've been receiving heap errors on one case that has an attachment over 15MB, which prevents the L3 case from generating. Is there anyway to get around this? Our L3 team need the attachments to copy over.