hello team,

doc says:

If you use Ignite native persistence, we recommend that you set the MaxDirectMemorySize JVM parameter to walSegmentSize * 4

why?

In addition, for the following configuration and code:

"vmArgs": "-XX:+PrintGCDetails -XX:MaxDirectMemorySize=5m"

ByteBuffer bb = ByteBuffer.allocateDirect(6 * 1024 * 1024);

This code throws the following error:
Caused by: java.lang.OutOfMemoryError: Direct buffer memory

Why isn't ignite affected by the MaxDirectMemorySize parameter?

Reply via email to