Re: [basex-talk] Creating more than a million databases per session: Out Of Memory

2016-10-17 Thread Christian Grün
ex-talk-boun...@mailman.uni-konstanz.de > [mailto:basex-talk-boun...@mailman.uni-konstanz.de] Namens Christian Grün > Verzonden: zondag 16 oktober 2016 10:22 > Aan: Marco Lettere > CC: BaseX > Onderwerp: Re: [basex-talk] Creating more than a million databases per > session:

Re: [basex-talk] Creating more than a million databases per session: Out Of Memory

2016-10-17 Thread Bram Vanroy | KU Leuven
ances? Kind regards Bram -Oorspronkelijk bericht- Van: basex-talk-boun...@mailman.uni-konstanz.de [mailto:basex-talk-boun...@mailman.uni-konstanz.de] Namens Christian Grün Verzonden: zondag 16 oktober 2016 10:22 Aan: Marco Lettere CC: BaseX Onderwerp: Re: [basex-talk] Creating more t

Re: [basex-talk] Creating more than a million databases per session: Out Of Memory

2016-10-16 Thread Christian Grün
Hi Bram, I second Marco in his advise to find a good compromise between single databases and single documents. Regarding the OOM, the stack trace could possibly be helpful for judging what might go wrong in your setup. Cheers Christian On Sat, Oct 15, 2016 at 4:19 PM, Marco Lettere wrote: > H

Re: [basex-talk] Creating more than a million databases per session: Out Of Memory

2016-10-15 Thread Marco Lettere
Hi Bram, not being much into the issue of creating databases at this scale I'm not sure whether the OOM problems you are facing are related to Basex of JVM actually. Anyway something rather simple you could try is to behave "in between". Instead of opening a single session for the create statem