Im currently updating lots of records of an SObject having extensive trigger logic and today I've noticed this limit consumption:
Limit Name .................... ┃ ...Actual ┃ ....Maximal ┃ ....Usage
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HeapSize....................... ┃ 8'254'161 ┃ ..6'000'000 ┃ ..137.57%
CpuTime........................ ┃ ....8'061 ┃ .....10'000 ┃ ...80.61%
DmlStatements.................. ┃ ........2 ┃ ........150 ┃ ....1.33%
DmlRows........................ ┃ ....3'550 ┃ .....10'000 ┃ ...35.50%
Queries........................ ┃ .......40 ┃ ........100 ┃ ...40.00%
QueryRows...................... ┃ ....5'664 ┃ .....50'000 ┃ ...11.33%
EmailInvocations............... ┃ ........1 ┃ .........10 ┃ ...10.00%
So far, my understanding was that the 6MB limit for HeapSize is strict. Now it seems, that salesforce is tolerating some kind of exceeding since > 8MB was executed without exception.
Does anyone of you had similar experiences? If so, for which limit and how much of over consumption has worked for you? Is it reliable or random? Or is there any kind of documentation for this I haven't noticed? Of course more heap would be wonderful!