Also setting of OGlobalConfiguration.ENVIRONMENT_CONCURRENT.setValue(false);
is not sage now, several threads are active even in single thread mode. The more memory you will give to disk cache the better. On Fri, Feb 7, 2014 at 1:57 PM, Andrey Lomakin <[email protected]>wrote: > Hi, > Better to use https://gist.github.com/laa/9b097dd940f2c56e05fe > > Looking forward for your results. > > > On Fri, Feb 7, 2014 at 1:47 PM, Никита Волков <[email protected]> wrote: > >> Hello. >> >> I'm going to import large graph in new OrientB 1.7 >> I use plocal db-type and next piece of code for import. >> >> >> g = new OrientGraphNoTx(dbURL); >> try { >> g.getRawGraph().declareIntent(new >> OIntentMassiveInsert()); >> >> OGlobalConfiguration.STORAGE_KEEP_OPEN.setValue(false); >> >> OGlobalConfiguration.TX_USE_LOG.setValue(false); >> >> OGlobalConfiguration.ENVIRONMENT_CONCURRENT.setValue(false); >> >> //graph.getRawGraph().declareIntent(new >> OIntentMassiveInsert()); >> g.getRawGraph().declareIntent(new >> OIntentMassiveInsert()); >> GraphMLReader.inputGraph(g, graphname, >> 1000000, null, null, null); >> >> >> >> >> >> Is it right way or code should be improved? >> >> >> -- >> >> --- >> 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/groups/opt_out. >> > > > > -- > Best regards, > Andrey Lomakin. > > Orient Technologies > the Company behind OrientDB > > -- Best regards, Andrey Lomakin. Orient Technologies the Company behind OrientDB -- --- 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/groups/opt_out.
