Function allocatedMemory

Returns current amount of allocated memory in bytes. This is 0 at program start

ulong allocatedMemory();