I have a very large ( 102gb ) db4o .yap file that i am trying to defragment. I keep getting a java heap space error. Is there something i can do to tweak the settings to prevent this? I am already setting the objectCommitFrequency to 10000. I am giving the java process 3 gigs of memory to run this but it still crashes.
preguntado el 28 de agosto de 12 a las 12:08
The only thing which might help is to use the DatabaseIdMapping. But I guess you already tried this, no?
IdMapping mapping = new DatabaseIdMapping("temporary-mapping.tmp"); DefragmentConfig config = new DefragmentConfig("database.db4o", "database.db4o.back", mapping); Defragment.defrag(config);