Hi, It's strange, with low memory you can expect some performance degradation (eg. a little slowdown), but not a system hang. Could you please post the code you use for the node/edge creation?
Thanks Luigi 2016-06-11 10:18 GMT+02:00 K Major <[email protected]>: > Hello, > I'm trying to load a graph containing 800 000 nodes and 7 millions edges > using Java. > > If I do it using my laptop which has 8GB of RAM (giving 4GB to the JVM via > XMX4GB ) this become unfeasible : it loads correctly all the nodes but it > seems to be stuck after having loaded 2.5 millions nodes, after few hours, > it gives nothing. > > However, If I run this batch loading on another computer which has 16GB of > RAM (giving 10GB to the JVM using XMX10GB), the loading completes after 18 > mins. > > *Question : * > Does this mean that the bigger the graph I want to load, the more RAM I > would need or is there a minimum required amount of RAM to be able to load > all graphs ? > > > *Additionnal parameter used for batch loading :* > Java arguments: > -Xmx4000M > -Dstorage.useWAL=false > -Dstorage.wal.syncOnPageFlush=false > -Dtx.useLog=false > -Dstorage.diskCache.bufferSizeE=0 > -Xss4M > > Java Code: > > factory.declareIntent(new OIntentMassiveInsert()); > graphDb = factory.getNoTx(); > graphDb.getRawGraph().setRetainRecords(false); > graphDb.setUseLog(false); > > //Load Nodes > //Load Edges > > > > > -- > > --- > 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.
