getMemoryStat#

swordfish.function.getMemoryStat()#

Return the allocated memory and the unused memory.

Returns:

A dictionary with the following keys:

  • freeBytes: the allocated memory (in Bytes) for the current node.

  • allocatedBytes: the unused memory (in Bytes) for the current node.

Return type:

Constant