The disk cache that messge refers to is the amount of memory available to cache data that would normally be stored on disk, not the amount of disk being used to cache data that would otherwise be in RAM. An in-memory database uses no disk space (unless your OS pages your process to disk, in which case you have other problems). Refer to core/src/main/java/com/orientechnologies/orient/core/config/OGlobalConfiguration.java for details.
To increase the maximum heap space, you'll need to change the value that is passed to java (-XmxnnnM). You can either edit your server startup script, or in your environment set and export the JAVA_OPTS variable with your parameter (eg: export JAVA_OPTS=-Xmx4g to set the max heap size to 4096MB). - Craig - On Thu, Apr 16, 2015 at 4:16 AM, Jaime A <[email protected]> wrote: > Hi, > > If I'm using the in-memory OrientDB server why do I get this message? > > Apr 16, 2015 10:01:54 AM com.orientechnologies.common.log.OLogManager log > INFO: Auto-config DISKCACHE=1,137MB (heap=910MB osMemory=4,096MB) > > I cannot find on the docs how do I disable any disk usage. > Additionally, how can I control the amount of heap memory used? I only > found the memory.optimizeThreshold parameter on docs and it seems > deprecated > > Thanks in advance > > P.S. I create my DB simply using > > protected val graph: OrientGraph = new > OrientGraph(s"memory:graph-${UUID.randomUUID().toString}") > > -- > > --- > 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.
