returns -1.
MemoryPool.getMaxMemory
long getMaxMemory()Return peak memory allocation in this memory pool.
Returns
Maximum bytes allocated. If not known (or not implemented),
long getMaxMemory()Return peak memory allocation in this memory pool.
returns -1.