Calculate memory consumed since the image was started.
Package
hcl
Signature
total-allocation
Arguments
None.
Values
Returns the amount allocated
Description
This function calculates the total amount of memory consumed since the current image was created. Use at the start and end of a piece of code, to see how much it allocates.