Hi summasumma, DataRegion maxSize and jvm MaxDirectMemorySize are completely different. Ignite DataRegion uses offheap memory allocated with help of Unsafe. And that memory is not related to "direct memory" which jvm allocates when direct buffers are used (e.g. ByteBuffer.allocateDirect). To constraint max amount of memory for direct buffers one can use MaxDirectMemorySize jvm option. As far as I know, by default MaxDirectMemorySize is equal to Xmx. Consult [1] for more details.
[1] https://docs.oracle.com/javase/8/docs/technotes/tools/windows/java.html 2018-12-23 11:17 GMT+03:00, Павлухин Иван <[email protected]>: > Hi collnc, > > Perhaps, documentation can answer you question [1]. > > [1] https://apacheignite.readme.io/docs/durable-memory-tuning > > 2018-12-21 20:39 GMT+03:00, summasumma <[email protected]>: >> In the above example, >> >> is setting "<property name="maxSize" value="#{8L * 1024 * 1024 * >> 1024}"/> >> " >> in xml config file same as adding a jvmoption >> "-XX:MaxDirectMemorySize=8g" >> ? >> or its different? >> >> Can somone please clarify? >> >> Thanks >> ...summa >> >> >> >> -- >> Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >> > > > -- > Best regards, > Ivan Pavlukhin > -- Best regards, Ivan Pavlukhin
