PSA: Error Message: "System.LimitException: Apex heap size too large: 21043845" when Running Backlog CalculationFeb 28, 2025Knowledge
Content Standard GuideTitlePSA: Error Message: "System.LimitException: Apex heap size too large: 21043845" when Running Backlog CalculationURL NamePSA-Error-Message-System-LimitException-Apex-heap-size-too-large-21043845-when-Running-Backlog-CalculationInformationProduct AreaHelp Product AreaResource ManagementRelease VersionHelp Release VersionSymptomsHelp SymptomsWhen Running Backlog Calculation.Error Message: "System.LimitException: Apex heap size too large: 21043845" EnvironmentHelp EnvironmentProfessional Services AutomationAll VersionsResolutionHelp ResolutionApply the below solutions : Change the BackLog Custom Settings: Go to Setup > Develop > Custom SettingsClick Manage next to the label Backlog Click Edit Lower following batch sizes to "5" Post Process Milestone Batch SizePost Process RPG Batch SizePost Process Project Batch Size Post Process Resource Request Batch Size Lower Assignment Batch Size to "20" to "5"Uncheck Process Backlog Remainder Inline Click Save Check Perpetual Time Period does not goes out to more than 10 years. Weekly Time Periods does not go out to more than 10 years. Check Milestone target date does not go out to more than 10 years. 4.Check if single project has very large numbers of Assignments or Milestones Can try excluding such Projects from the backlog by checking 'Exclude from Backlog' on project. Also exclude any templates or other Projects not necessary to calculate Backlog for. CauseHelp CauseError is caused by Backlog trying to calculate large amounts of data, usually starting at the Global Region, Practice and/or GroupWhen there is no End Date on the Backlog Calculation, calculation tries to calculate all backlogs up to the last day of the Perpetual Time Period For example, if the Time Period record with "Perpetual" Time Period Type ends on 12/31/2050, the Backlog Calculation will calculate up to that date The Backlog Custom Settings batch sizes are set to highAdditional NotesHelp Additional NotesYou might see this error Error Message: "First error: pse: Too many DML rows: 10001" when Running Backlog Calculation along with above.
Was this article helpful?00Choose a general reason-- Choose a general reason --FeedbackUpload FilesUpload FilesOr drop filesSubmit