java - Orientdb: Warning Msg Your maximum heap size is 3.54GB -
Suddenly, I got this warning message on the console:
Warning: Your maximum stack size is 3.54 GB, but Orient DB uses Off-Hap Memory to avoid GC Pauses. In case the Orient DB is running as standalone, we recommend that Oyeretadibi use the small amount of heap memory to use the rest as an off-hape. 512 megabytes have been recommended for the size of the pile size.
I went through config documentation and found very likely systems. For example:
file.mmap.maxMemory
memory .optimizeThreshold (deprecated)
and so on, but I do not know this That's how to set this value.
Can you please specify what is correct) with many instances of value orientdb for a busy server?
Thank you
This message is a little confusing.
1) If you run Orient DB as a standalone server process, then this message is understandable. Orient DD does not need much map memory and the rest (remaining) off-hap memory can be used for most of DB paging. While launching OrientDB, you can set pile size by java
parameter -Xmx512M
.
2) If you run embedded DB embedded, then this message is not really useful because the Orient DD does not know anything about your remaining application. Unless you have enough off-hp memory, it's okay and you can ignore the message.
3) This message is displayed only when you specify No (Java System) property storage.diskCache.bufferSize
.
Comments
Post a Comment