Hi,

You Can change the line in every launch script : 

set VM=-Xmx512m

More at: http://docs.basex.org/wiki/Start_Scripts

BR X





Le 12 juil. 2017 à 09:06, Fabrice ETANCHAUD <fetanchaud@pch.cerfrance.fr> a écrit :

Hello,

In the BaseXGUI.(sh|bat),

You shall change the java -Xmx parameter value

https://docs.oracle.com/cd/E13150_01/jrockit_jvm/jrockit/jrdocs/refman/optionX.html

Best regards,
Fabrice Etanchaud


-----Message d'origine-----
De : basex-talk-bounces@mailman.uni-konstanz.de [mailto:basex-talk-bounces@mailman.uni-konstanz.de] De la part de C. M. Sperberg-McQueen
Envoyé : mercredi 12 juillet 2017 06:17
À : basex-talk@mailman.uni-konstanz.de
Cc : C. M. Sperberg-McQueen
Objet : [basex-talk] quick and dirty guide to increasing memory capacity?

I’m working on some XQuery code for language corpora and testing a function that reads a corpus and gathers information about its contents.  The function works fine on the one-million word Brown Corpus, but it’s failing with an out-of-memory error on the five-million-word Hamburg Dependency Treebank (the XML for which is somewhat more verbose than Brown’s).

Before I spend a lot of time trying to rewrite the code to reduce memory usage:  Is there a quick way to give the BaseX GUI interface more memory?

Once the code is more complete, it will make sense to try to improve its speed and lower its resource consumption (and at that point I’ll surely have lots of questions for the list), but for the moment I would prefer to postpone such considerations, and focus on writing code I understand.

Thanks!

********************************************
C. M. Sperberg-McQueen
Black Mesa Technologies LLC
cmsmcq@blackmesatech.com
http://www.blackmesatech.com
********************************************