larray.LArray.memory_used

LArray.memory_used

Returns the memory consumed by the array in human readable form.

Returns:

str

Memory used by the array.

Examples

>>> a = ndrange('sex=M,F;type=type1,type2,type3', dtype=float)
>>> a.memory_used
'48 bytes'