Hi,
After hours of work, I could run my database to normal. But when I left it
to run with some processing functions for 3-4 hours, it closed with @Unable
to allocate space" exception.
Can you please let me know if there is memory leakage issue.
My batch script is as follows
connect remote:localhost/colls root password
jss var g = orient.getGraph();
var r = g.command( "SQL","select count(*) as count from mynode" );
var len = r[0].getRecord().field("count"); //Total in count
var j = 1000;
len = 10;
var l = 0;
while(l < len){
var r = g.command("SQL","Select from patents skip " +l+" LIMIT 1");
// Do the job then go to Next
l++;
}
Content of record #11:43457 was broken.
->
com.orientechnologies.orient.core.db.raw.ODatabaseRaw.read(ODatabaseRaw.java:242)
->
com.orientechnologies.orient.core.db.record.ODatabaseRecordAbstract.executeReadRecord(ODatabaseRecordAbstract.java:768)
->
com.orientechnologies.orient.core.tx.OTransactionNoTx.loadRecord(OTransactionNoTx.java:64)
->
com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.load(ODatabaseRecordTx.java:216)
->
com.orientechnologies.orient.core.db.record.ODatabaseRecordTx.load(ODatabaseRecordTx.java:39)
->
com.orientechnologies.orient.core.iterator.OIdentifiableIterator.readCurrentRecord(OIdentifiableIterator.java:285)
->
com.orientechnologies.orient.core.iterator.ORecordIteratorCluster.hasNext(ORecordIteratorCluster.java:140)
->
com.orientechnologies.orient.core.index.OIndexAbstract.rebuild(OIndexAbstract.java:541)
->
com.orientechnologies.orient.core.index.OIndexAbstract.rebuild(OIndexAbstract.java:491)
->
com.orientechnologies.orient.core.index.OIndexAbstractDelegate.rebuild(OIndexAbstractDelegate.java:170)
->
com.orientechnologies.orient.core.sql.OCommandExecutorSQLRebuildIndex.execute(OCommandExecutorSQLRebuildIndex.java:77)
->
com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.execute(OCommandExecutorSQLDelegate.java:57)
->
com.orientechnologies.orient.core.storage.OStorageEmbedded.executeCommand(OStorageEmbedded.java:96)
->
com.orientechnologies.orient.core.storage.OStorageEmbedded.command(OStorageEmbedded.java:85)
->
com.orientechnologies.orient.core.command.OCommandRequestTextAbstract.execute(OCommandRequestTextAbstract.java:59)
->
com.orientechnologies.orient.console.OConsoleDatabaseApp.sqlCommand(OConsoleDatabaseApp.java:1886)
->
com.orientechnologies.orient.console.OConsoleDatabaseApp.rebuildIndex(OConsoleDatabaseApp.java:903)
-> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
->
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
->
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
-> java.lang.reflect.Method.invoke(Method.java:606)
->
com.orientechnologies.common.console.OConsoleApplication.execute(OConsoleApplication.java:302)
->
com.orientechnologies.common.console.OConsoleApplication.executeCommands(OConsoleApplication.java:171)
->
com.orientechnologies.common.console.OConsoleApplication.run(OConsoleApplication.java:94)
->
com.orientechnologies.orient.graph.console.OGremlinConsole.main(OGremlinConsole.java:54)
--
---
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.