Gaurav Kumar (Accenture) a posé une question dans #Apex31 mars 2021, 09:47Apex heap size too large: 39897844HI All,I am trying to write a trigger on object1 i.e after insert/ after update to create record on object2. But I am getting error (Apex heap size too large: 39897844) on saving record on object1.Thanks in advance. 3 réponsesTriTrier par dateTrier par ordre d’utilitéTrier par dateChargement de commentaires supplémentaires...Geoffrey B7 oct. 2025, 10:08Try using these methods to find how much heap is consuming in your code. limtis.getHeapSize(); limtis.getLimitHeapSize();Répondre dans Slack
Geoffrey B7 oct. 2025, 10:08Try using these methods to find how much heap is consuming in your code. limtis.getHeapSize(); limtis.getLimitHeapSize();