FAQ: "First Error: Apex heap size too large" error

Resolve the LeanData "First Error: Apex heap size too large" error. Causes and fixes.