I had few questions regarding openHFT chronicle map.
- How often does chronicle map persist from memory to disk.
- Is this time configurable?
- If JVM process with chronicle map crashes. Does the data in off heap memory gets flushed automatically?
- Can someone point me to correct resources that are available for above questions?
Thank you
This is determined by the OS, it is between 5 and 30 seconds by default up to a maximum of 10% of the main memory not being written to disk.
dirtytime_expire_seconds and dirty_expire_centisecs https://docs.kernel.org/admin-guide/sysctl/vm.html
The data is flushed by the OS so as long as this keeps running for another 30 seconds, it should be flushed.
In short, it's controlled by your OS.