Re: [basex-talk] (no subject)

2016-10-16 Thread Christian Grün
Hi Shaun, > I do this through the MS DOS prompt, but -Xmx does not appear to be a > parameter any more, If you work with the ZIP distributions of BaseX, you can adjust the memory setting in the start scripts (in the bin directory). Otherwise, you’ll need to pass it to to java, not BaseX itself.

Re: [basex-talk] Making connections to a database

2016-10-16 Thread Christian Grün
Hi Thomas, > Am I doing this correctly, or should the application server connect then > immediately disconnect from BaseX to serve each individual user query > (in the same way that PHP works with MySQL)? In general, it should be possible to send multiple commands and queries via an open connecti

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] Large CSV File (~1M rows)

2016-10-16 Thread Shaun Flynn
Hello there, The parsing runs out memory. I also tried doubling the memory to 1024MB, and still the same issue. Kind regards On 16 Oct 2016 09:15, "Christian Grün" wrote: Hi Shaun, > I do this through the MS DOS prompt, but -Xmx does not appear to be a > parameter any more, If you work with

Re: [basex-talk] Large CSV File (~1M rows)

2016-10-16 Thread Christian Grün
> The parsing runs out memory. I also tried doubling the memory to 1024MB, and > still the same issue. Memory consumption should be much lower if you create a database from your input (e.g. via the GUI). Does this help? Christian > > Kind regards > > > On 16 Oct 2016 09:15, "Christian Grün" w

Re: [basex-talk] Large CSV File (~1M rows)

2016-10-16 Thread Shaun Flynn
Thank you -- I will give a go and let you know. SCF xx On 16 Oct 2016 10:02, "Christian Grün" wrote: > > The parsing runs out memory. I also tried doubling the memory to 1024MB, > and > > still the same issue. > > Memory consumption should be much lower if you create a database from > your inpu

Re: [basex-talk] Large CSV File (~1M rows)

2016-10-16 Thread Shaun Flynn
That worked! Thank you. On 16 Oct 2016 10:13, "Shaun Flynn" wrote: > Thank you -- I will give a go and let you know. > > SCF xx > > On 16 Oct 2016 10:02, "Christian Grün" wrote: > >> > The parsing runs out memory. I also tried doubling the memory to >> 1024MB, and >> > still the same issue. >>

Re: [basex-talk] executing xquery on basex

2016-10-16 Thread Christian Grün
Hi Genneva, Looks weird indeed; we haven’t encountered this before. It seems as if the client string is modified before it is written to the server. Do you use a single BaseX client instance in parallel? Do you have parallel calls at all? And, the usual question.. Can you provide us with a minimiz