Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.7-rc2 Memory Issue #2116

Closed
andrii0lomakin opened this issue Mar 11, 2014 · 1 comment
Closed

1.7-rc2 Memory Issue #2116

andrii0lomakin opened this issue Mar 11, 2014 · 1 comment
Assignees
Milestone

Comments

@andrii0lomakin
Copy link
Member

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)

@andrii0lomakin andrii0lomakin added this to the 1.7rc2 milestone Mar 11, 2014
@andrii0lomakin andrii0lomakin self-assigned this Mar 11, 2014
@andrii0lomakin andrii0lomakin modified the milestones: 1.7, 1.7rc2 Mar 17, 2014
@andrii0lomakin
Copy link
Member Author

not reproducible any more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant