Details
Description
At the moment Ignite off-heap memory is allocated in virtual memory of operating system, not physical memory: it is recorded in an internal data structure to avoid it being used by any other process. Not even a single page will be allocated in physical memory until it's actually accessed. When the Ignite needs memory, the operating system will allocate pages as needed.
The proposal is to add an option to Ignite that will touch every single byte of the max off heap with a '0', resulting in the memory being allocated in the physical memory in addition to being reserved in the internal data structure (virtual memory). Similar option is available in JVM -XX:+AlwaysPreTouch