Hi Simon,

just set one variable with -Xmx, the other one will be overridden. Heap
memory is used for
- transactions
- sorting operations
- grouping operations

the right disk cache syntax is -Dstorage.diskCache.bufferSize=8192 (without
m at the end).
It is the off-heap cache used by OrientDB to avoid slow disk access as much
as possible. I'd suggest you to tune heap memory based on the number of
concurrent clients and the type of operations you do on the db (eg. if you
never do ORDER BY or GROUP BY and you typically return small result sets,
then one or two GB of heap are enough) and leave all the rest to the disk
cache (as much as you have, but not more that db size, that would be
useless), it will give you the best performance.

Thanks

Luigi





2015-09-22 0:36 GMT+02:00 Simon White <[email protected]>:

>
> I am working with OrientDB v2.1.2 and have read the documentation on
> performance tuning http://orientdb.com/docs/2.1/Performance-Tuning.html
>
> I am worried that I may have inadvertently affected performance of
> OrientDB by assigning arbitrary memory allocations...
>
> I have installed OrientDB on a decently spec'ed Windows server with 32GB
> RAM.
>
> I am aware that you can configure memory settings in server.bat but I
> really have no idea what is sensible.
>
> Could anyone help me with these server settings? (or others that may be
> appropriate for my install)
>
> set JAVA_OPTS_SCRIPT=-Xmx2048m
> set MAXHEAP=-Xmx2048m
> set MAXDISKCACHE=-Dstorage.diskCache.bufferSize=8192m          <-- I am
> not sure if this is even syntatically correct....?
>
> --
>
> ---
> 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.
>

-- 

--- 
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