Class NativeMemoryConfig

java.lang.Object
com.hazelcast.config.NativeMemoryConfig

public class NativeMemoryConfig
extends Object
Configures native memory region.

Native memory is allocated outside JVM heap space and is not subject to JVM garbage collection. Therefore, hundreds of gigabytes of native memory can be allocated & used without introducing pressure on GC mechanism.

Data structures, such as IMap and ICache, store their data (entries, indexes etc.) in native memory region when they are configured with InMemoryFormat.NATIVE.