Salesforce Fact #804 | Heap size in apex

The two methods of Limits class which show the details about the heap size:

getHeapSize() and getLimitHeapSize(), the amount of memory is returned in bytes.

Reference: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_limits.htm

Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow