MemoryPool.getMaxMemory

long getMaxMemory()

Return peak memory allocation in this memory pool.

Returns

Maximum bytes allocated. If not known (or not implemented),

returns -1.