usedMemory method
Description
Returns the used memory size of the Explicit memory block.
Format
public long usedMemory();
Parameters
None
Exceptions
Return value
The used memory size (number of bytes) of the Explicit memory block indicated by the object is returned to the long type.
When it is judged by the common error check that the processing cannot be executed, 0 is returned. For details on common error check, see 10.6 Error check (common error check) of the process that controls the Explicit memory block .