Hello!

Is there a way to adjust the heap size and disk cache programmatically? I 
am embedding orientdb and I am getting the following messages:

Sep 15, 2015 7:14:48 AM com.orientechnologies.common.log.OLogManager log
INFO: Database XXX uses 1,007MB/1,137MB of DISKCACHE memory, while Heap is 
not completely used (usedHeap=593MB maxHeap=910MB). To improve performance 
set maxHeap to 712MB and DISKCACHE to 1335MB
Sep 15, 2015 7:14:48 AM com.orientechnologies.common.log.OLogManager log
INFO: -> Open server.sh (or server.bat on Windows) and change the following 
variables: 1) MAXHEAP=-Xmx712M 2) MAXDISKCACHE=1335

Is there a ballpark percentage (to use inside my logic)?

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to