public final class MemoryManager extends Object
| Constructor and Description |
|---|
MemoryManager(long expectedMaxMemory,
long alignment)
Create a new MemoryManager that will allocate the given amount of memory, to pointers that are aligned to the
given alignment size.
|
public MemoryManager(long expectedMaxMemory,
long alignment)
expectedMaxMemory - The maximum amount of memory that this memory manager is expected to allocate. The
actual amount of memory used can end up greater than this value, if some of it gets wasted on alignment padding.alignment - The byte multiple that the allocated pointers have to be aligned at.Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.