Desfragmentación de archivos de base de datos db4o muy grandes
Frecuentes
Visto 342 veces
1
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.
1 Respuestas
1
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);
Respondido el 04 de Septiembre de 12 a las 12:09
No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas heap-memory db4o defragmentation or haz tu propia pregunta.
Thanks for the response, just saw this now. When i come back to this issue I will give this a try. Thanks again. - Andy Rayne