out of main memory
Tuesday, 1 March 2016 · 11 messages · last reply 4 Mar 2016
M
michele.greco21 Mar 2016 10:47 #
Hi, i get the error "out of main memory", when i run my query on a collection in basex gui.
How can i fix?
How can i increase my memory?
Regards
Michele
--
ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per tutti i dettagli Clicca qui http://posta.email.it/caselle-di-posta-z-email-it/?utm_campaign=email_Zimbra_102014=main_footer/f
Sponsor:
Soluzioni di email hosting per tutte le esigenze: dalle caselle gratuite a quelle professionali su piattaforma Zimbra, da quelle su proprio dominio a quelle certificate PEC. Confronta le soluzioni Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=13326&d=1-3
HE
Hondros, Constantine (ELS-AMS)1 Mar 2016 11:00 #
Hi Michele,
1. Go to <BASEX_INSTALL>/bin
2. Open basexgui.bat (Windows) or basexgui (*nix)
3. Increase value of -Xmx in BASEX_JVM variable, from 512 MB to something that your system can support
4. Restart the GUI
For example, here is the line from my config - I allocate almost 5 Gigabytes of memory
set BASEX_JVM=-Xmx5000m %BASEX_JVM%
Regards,
Cosntantine
Quoted text · basex-talk-bounces at mailman.uni-konstanz.de · 15 lines
From: basex-talk-bounces at mailman.uni-konstanz.de [mailto:basex-talk-bounces at mailman.uni-konstanz.de] On Behalf Of michele.greco2 at email.it Sent: 01 March 2016 10:48 To: basex-talk at mailman.uni-konstanz.de Subject: [basex-talk] out of main memory Hi, i get the error "out of main memory", when i run my query on a collection in basex gui. How can i fix? How can i increase my memory? Regards Michele ---- ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per tutti i dettagli clicca qui<http://posta.email.it/caselle-di-posta-z-email-it/?utm_campaign=email_Zimbra_102014=main_footer> Sponsor: Idee regalo classiche o alternative? Trova l'offerta migliore in un click Clicca qui<http://adv.email.it/cgi-bin/foclick.cgi?mid=13327&d=20160301> Elsevier B.V. Registered Office: Radarweg 29, 1043 NX Amsterdam, The Netherlands, Registration No. 33156677, Registered in The Netherlands.
M
michele.greco23 Mar 2016 09:34 #
Hi Constantine, thanks for your answer.
I'm trying to do what you suggested but all my tests so far have had no effect.
Do you have any particular which have to be careful as you suggest?
Regards,
Michele
Quoted text · Hondros, Constantine (ELS-AMS) · 52 lines
--------- Original Message -------- Da: "Hondros Constantine ELS-AMS" <C.Hondros at elsevier.com> To: "basex-talk at mailman.uni-konstanz.de" <basex-talk at mailman.uni-konstanz.de> Oggetto: RE: [basex-talk] out of main memory Data: 01/03/16 10:07 Hi Michele, 1. Go to <BASEX_INSTALL>/bin 2. Open basexgui.bat (Windows) or basexgui (*nix) 3. Increase value of –Xmx in BASEX_JVM variable, from 512 MB to something that your system can support 4. Restart the GUI For example, here is the line from my config – I allocate almost 5 Gigabytes of memory set BASEX_JVM=-Xmx5000m %BASEX_JVM% Regards, Cosntantine From: basex-talk-bounces at mailman.uni-konstanz.de [mailto:basex-talk-bounces at mailman.uni-konstanz.de] On Behalf Of michele.greco2 at email.it Sent: 01 March 2016 10:48 To: basex-talk at mailman.uni-konstanz.de Subject: [basex-talk] out of main memory Hi, i get the error "out of main memory", when i run my query on a collection in basex gui. How can i fix? How can i increase my memory? Regards Michele ---- ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per tutti i dettagli clicca qui Sponsor: Idee regalo classiche o alternative? Trova l'offerta migliore in un click Clicca qui Elsevier B.V. Registered Office: Radarweg 29, 1043 NX Amsterdam, The Netherlands, Registration No. 33156677, Registered in The Netherlands. -- ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per tutti i dettagli Clicca qui http://posta.email.it/caselle-di-posta-z-email-it/?utm_campaign=email_Zimbra_102014=main_footer/f Sponsor: Idee regalo classiche o alternative? Trova l'offerta migliore in un click Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=13327&d=3-3
CG
Christian Grün3 Mar 2016 11:32 #
Hi Michele,
How much memory do you have available on your system, and how much did you assign? What kind of operations are triggering the out-of-memory errors?
Christian
Quoted text · michele.greco2 · 67 lines
On Thu, Mar 3, 2016 at 9:34 AM, <michele.greco2 at email.it> wrote: > Hi Constantine, thanks for your answer. > I'm trying to do what you suggested but all my tests so far have had no > effect. > Do you have any particular which have to be careful as you suggest? > > Regards, > Michele > > --------- Original Message -------- > Da: "Hondros Constantine ELS-AMS" <C.Hondros at elsevier.com> > To: "basex-talk at mailman.uni-konstanz.de" > <basex-talk at mailman.uni-konstanz.de> > Oggetto: RE: [basex-talk] out of main memory > Data: 01/03/16 10:07 > > Hi Michele, > > 1. Go to <BASEX_INSTALL>/bin > 2. Open basexgui.bat (Windows) or basexgui (*nix) > 3. Increase value of –Xmx in BASEX_JVM variable, from 512 MB to > something that your system can support > 4. Restart the GUI > > For example, here is the line from my config – I allocate almost 5 > Gigabytes of memory > > set BASEX_JVM=-Xmx5000m %BASEX_JVM% > > Regards, > Cosntantine > > > From: basex-talk-bounces at mailman.uni-konstanz.de > [mailto:basex-talk-bounces at mailman.uni-konstanz.de] On Behalf Of > michele.greco2 at email.it > Sent: 01 March 2016 10:48 > To: basex-talk at mailman.uni-konstanz.de > Subject: [basex-talk] out of main memory > > Hi, i get the error "out of main memory", when i run my query on a > collection in basex gui. > How can i fix? > How can i increase my memory? > Regards > Michele > > ---- > ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per > tutti i dettagli clicca qui > > Sponsor: > Idee regalo classiche o alternative? Trova l'offerta migliore in un click > Clicca qui > > ________________________________ > Elsevier B.V. Registered Office: Radarweg 29, 1043 NX Amsterdam, The > Netherlands, Registration No. 33156677, Registered in The Netherlands. > > > ---- > ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per > tutti i dettagli clicca qui > > Sponsor: > Idee regalo classiche o alternative? Trova l'offerta migliore in un click > Clicca qui
M
michele.greco23 Mar 2016 11:55 #
Hi,
i created a collection of XML files, and so everithing is right. The error out of memory happens when i run some queries about my collection,other queries work. The Query on the extraction of text from files. I 495m available and would like increase it to at least 1024m.
Michele
Quoted text · Christian Grün · 90 lines
--------- Original Message -------- Da: "Christian Grün" <christian.gruen at gmail.com> To: Cc: "Hondros Constantine ELS-AMS" <C.Hondros at elsevier.com>, "BaseX" <basex-talk at mailman.uni-konstanz.de> Oggetto: Re: [basex-talk] out of main memory Data: 03/03/16 10:42 Hi Michele, How much memory do you have available on your system, and how much did you assign? What kind of operations are triggering the out-of-memory errors? Christian On Thu, Mar 3, 2016 at 9:34 AM, <michele.greco2 at email.it> wrote: > Hi Constantine, thanks for your answer. > I'm trying to do what you suggested but all my tests so far have had no > effect. > Do you have any particular which have to be careful as you suggest? > > Regards, > Michele > > --------- Original Message -------- > Da: "Hondros Constantine ELS-AMS" <C.Hondros at elsevier.com> > To: "basex-talk at mailman.uni-konstanz.de" > <basex-talk at mailman.uni-konstanz.de> > Oggetto: RE: [basex-talk] out of main memory > Data: 01/03/16 10:07 > > Hi Michele, > > 1. Go to <BASEX_INSTALL>/bin > 2. Open basexgui.bat (Windows) or basexgui (*nix) > 3. Increase value of Xmx in BASEX_JVM variable, from 512 MB to > something that your system can support > 4. Restart the GUI > > For example, here is the line from my config I allocate almost 5 > Gigabytes of memory > > set BASEX_JVM=-Xmx5000m %BASEX_JVM% > > Regards, > Cosntantine > > > From: basex-talk-bounces at mailman.uni-konstanz.de > [mailto:basex-talk-bounces at mailman.uni-konstanz.de] On Behalf Of > michele.greco2 at email.it > Sent: 01 March 2016 10:48 > To: basex-talk at mailman.uni-konstanz.de > Subject: [basex-talk] out of main memory > > Hi, i get the error "out of main memory", when i run my query on a > collection in basex gui. > How can i fix? > How can i increase my memory? > Regards > Michele > > ---- > ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per > tutti i dettagli clicca qui > > Sponsor: > Idee regalo classiche o alternative? Trova l'offerta migliore in un click > Clicca qui > > ________________________________ > Elsevier B.V. Registered Office: Radarweg 29, 1043 NX Amsterdam, The > Netherlands, Registration No. 33156677, Registered in The Netherlands. > > > ---- > ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per > tutti i dettagli clicca qui > > Sponsor: > Idee regalo classiche o alternative? Trova l'offerta migliore in un click > Clicca qui -- ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per tutti i dettagli Clicca qui http://posta.email.it/caselle-di-posta-z-email-it/?utm_campaign=email_Zimbra_102014=main_footer/f Sponsor: Idee regalo classiche o alternative? Trova l'offerta migliore in un click Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=13327&d=3-3
CG
Christian Grün3 Mar 2016 11:57 #
Quoted text · michele.greco2 · 2 lines
> queries work. The Query on the extraction of text from files. I 495m > available and would like increase it to at least 1024m.
So which value did you assign via -Xmx? Do you start BaseX via basexgui.bat?…
Quoted text · michele.greco2 · 99 lines
> Michele > > --------- Original Message -------- > Da: "Christian Grün" <christian.gruen at gmail.com> > To: > Cc: "Hondros Constantine ELS-AMS" <C.Hondros at elsevier.com>, "BaseX" > <basex-talk at mailman.uni-konstanz.de> > Oggetto: Re: [basex-talk] out of main memory > Data: 03/03/16 10:42 > > > > Hi Michele, > > How much memory do you have available on your system, and how much did > you assign? What kind of operations are triggering the out-of-memory > errors? > > Christian > > > > On Thu, Mar 3, 2016 at 9:34 AM, <michele.greco2 at email.it> wrote: >> Hi Constantine, thanks for your answer. >> I'm trying to do what you suggested but all my tests so far have had no >> effect. >> Do you have any particular which have to be careful as you suggest? >> >> Regards, >> Michele >> >> --------- Original Message -------- >> Da: "Hondros Constantine ELS-AMS" <C.Hondros at elsevier.com> >> To: "basex-talk at mailman.uni-konstanz.de" >> <basex-talk at mailman.uni-konstanz.de> >> Oggetto: RE: [basex-talk] out of main memory >> Data: 01/03/16 10:07 >> >> Hi Michele, >> >> 1. Go to <BASEX_INSTALL>/bin >> 2. Open basexgui.bat (Windows) or basexgui (*nix) >> 3. Increase value of Xmx in BASEX_JVM variable, from 512 MB to >> something that your system can support >> 4. Restart the GUI >> >> For example, here is the line from my config I allocate almost 5 >> Gigabytes of memory >> >> set BASEX_JVM=-Xmx5000m %BASEX_JVM% >> >> Regards, >> Cosntantine >> >> >> From: basex-talk-bounces at mailman.uni-konstanz.de >> [mailto:basex-talk-bounces at mailman.uni-konstanz.de] On Behalf Of >> michele.greco2 at email.it >> Sent: 01 March 2016 10:48 >> To: basex-talk at mailman.uni-konstanz.de >> Subject: [basex-talk] out of main memory >> >> Hi, i get the error "out of main memory", when i run my query on a >> collection in basex gui. >> How can i fix? >> How can i increase my memory? >> Regards >> Michele >> >> ---- >> ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per >> tutti i dettagli clicca qui >> >> Sponsor: >> Idee regalo classiche o alternative? Trova l'offerta migliore in un click >> Clicca qui >> >> ________________________________ >> Elsevier B.V. Registered Office: Radarweg 29, 1043 NX Amsterdam, The >> Netherlands, Registration No. 33156677, Registered in The Netherlands. >> >> >> ---- >> ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per >> tutti i dettagli clicca qui >> >> Sponsor: >> Idee regalo classiche o alternative? Trova l'offerta migliore in un click >> Clicca qui > > > ---- > ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per > tutti i dettagli clicca qui > > Sponsor: > Caselle con tuo dominio su piattaforma Zimbra, fino a 30 GB di spazio, > sincronizzazione dati e backup > Clicca qui
M
michele.greco23 Mar 2016 12:26 #
I tried to do what i suggested Costantine with the value 1024m, but my memory is alwais 495m.
Quoted text · Christian Grün · 126 lines
--------- Original Message -------- Da: "Christian Grün" <christian.gruen at gmail.com> To: Cc: "Hondros Constantine ELS-AMS" <C.Hondros at elsevier.com>, "BaseX" <basex-talk at mailman.uni-konstanz.de> Oggetto: Re: [basex-talk] out of main memory Data: 03/03/16 11:03 > queries work. The Query on the extraction of text from files. I 495m > available and would like increase it to at least 1024m. So which value did you assign via -Xmx? Do you start BaseX via basexgui.bat? > Michele > > --------- Original Message -------- > Da: "Christian Grün" <christian.gruen at gmail.com> > To: > Cc: "Hondros Constantine ELS-AMS" <C.Hondros at elsevier.com>, "BaseX" > <basex-talk at mailman.uni-konstanz.de> > Oggetto: Re: [basex-talk] out of main memory > Data: 03/03/16 10:42 > > > > Hi Michele, > > How much memory do you have available on your system, and how much did > you assign? What kind of operations are triggering the out-of-memory > errors? > > Christian > > > > On Thu, Mar 3, 2016 at 9:34 AM, <michele.greco2 at email.it> wrote: >> Hi Constantine, thanks for your answer. >> I'm trying to do what you suggested but all my tests so far have had no >> effect. >> Do you have any particular which have to be careful as you suggest? >> >> Regards, >> Michele >> >> --------- Original Message -------- >> Da: "Hondros Constantine ELS-AMS" <C.Hondros at elsevier.com> >> To: "basex-talk at mailman.uni-konstanz.de" >> <basex-talk at mailman.uni-konstanz.de> >> Oggetto: RE: [basex-talk] out of main memory >> Data: 01/03/16 10:07 >> >> Hi Michele, >> >> 1. Go to <BASEX_INSTALL>/bin >> 2. Open basexgui.bat (Windows) or basexgui (*nix) >> 3. Increase value of Xmx in BASEX_JVM variable, from 512 MB to >> something that your system can support >> 4. Restart the GUI >> >> For example, here is the line from my config I allocate almost 5 >> Gigabytes of memory >> >> set BASEX_JVM=-Xmx5000m %BASEX_JVM% >> >> Regards, >> Cosntantine >> >> >> From: basex-talk-bounces at mailman.uni-konstanz.de >> [mailto:basex-talk-bounces at mailman.uni-konstanz.de] On Behalf Of >> michele.greco2 at email.it >> Sent: 01 March 2016 10:48 >> To: basex-talk at mailman.uni-konstanz.de >> Subject: [basex-talk] out of main memory >> >> Hi, i get the error "out of main memory", when i run my query on a >> collection in basex gui. >> How can i fix? >> How can i increase my memory? >> Regards >> Michele >> >> ---- >> ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per >> tutti i dettagli clicca qui >> >> Sponsor: >> Idee regalo classiche o alternative? Trova l'offerta migliore in un click >> Clicca qui >> >> ________________________________ >> Elsevier B.V. Registered Office: Radarweg 29, 1043 NX Amsterdam, The >> Netherlands, Registration No. 33156677, Registered in The Netherlands. >> >> >> ---- >> ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per >> tutti i dettagli clicca qui >> >> Sponsor: >> Idee regalo classiche o alternative? Trova l'offerta migliore in un click >> Clicca qui > > > ---- > ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per > tutti i dettagli clicca qui > > Sponsor: > Caselle con tuo dominio su piattaforma Zimbra, fino a 30 GB di spazio, > sincronizzazione dati e backup > Clicca qui -- ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per tutti i dettagli Clicca qui http://posta.email.it/caselle-di-posta-z-email-it/?utm_campaign=email_Zimbra_102014=main_footer/f Sponsor: Registra i domini che desideri ed inizia a creare il tuo sito web Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=13323&d=3-3
CG
Christian Grün3 Mar 2016 12:48 #
Quoted text · michele.greco2 · 2 lines
> I tried to do what i suggested Costantine with the value 1024m, but my > memory is alwais 495m.
Please try the following:
1. Download the ZIP version of BaseX (http://files.basex.org/releases/latest/)
2. Unzip it, edit bin/basexgui.bat (provided that you are using Windows):
OLD:
set BASEX_JVM=-Xmx512m %BASEX_JVM%
NEW:
set BASEX_JVM=-Xmx4g %BASEX_JVM%
3. Start bin/basexgui.bat
4. Click on the lower right memory bar and compare it with the attached screenshot.
Does this help?
Christian
Quoted text · michele.greco2 · 128 lines
On Thu, Mar 3, 2016 at 12:26 PM, <michele.greco2 at email.it> wrote: > > --------- Original Message -------- > Da: "Christian Grün" <christian.gruen at gmail.com> > To: > Cc: "Hondros Constantine ELS-AMS" <C.Hondros at elsevier.com>, "BaseX" > <basex-talk at mailman.uni-konstanz.de> > Oggetto: Re: [basex-talk] out of main memory > Data: 03/03/16 11:03 > > > >> queries work. The Query on the extraction of text from files. I 495m >> available and would like increase it to at least 1024m. > > So which value did you assign via -Xmx? Do you start BaseX via basexgui.bat? > > >> Michele >> >> --------- Original Message -------- >> Da: "Christian Grün" <christian.gruen at gmail.com> >> To: >> Cc: "Hondros Constantine ELS-AMS" <C.Hondros at elsevier.com>, "BaseX" >> <basex-talk at mailman.uni-konstanz.de> >> Oggetto: Re: [basex-talk] out of main memory >> Data: 03/03/16 10:42 >> >> >> >> Hi Michele, >> >> How much memory do you have available on your system, and how much did >> you assign? What kind of operations are triggering the out-of-memory >> errors? >> >> Christian >> >> >> >> On Thu, Mar 3, 2016 at 9:34 AM, <michele.greco2 at email.it> wrote: >>> Hi Constantine, thanks for your answer. >>> I'm trying to do what you suggested but all my tests so far have had no >>> effect. >>> Do you have any particular which have to be careful as you suggest? >>> >>> Regards, >>> Michele >>> >>> --------- Original Message -------- >>> Da: "Hondros Constantine ELS-AMS" <C.Hondros at elsevier.com> >>> To: "basex-talk at mailman.uni-konstanz.de" >>> <basex-talk at mailman.uni-konstanz.de> >>> Oggetto: RE: [basex-talk] out of main memory >>> Data: 01/03/16 10:07 >>> >>> Hi Michele, >>> >>> 1. Go to <BASEX_INSTALL>/bin >>> 2. Open basexgui.bat (Windows) or basexgui (*nix) >>> 3. Increase value of Xmx in BASEX_JVM variable, from 512 MB to >>> something that your system can support >>> 4. Restart the GUI >>> >>> For example, here is the line from my config I allocate almost 5 >>> Gigabytes of memory >>> >>> set BASEX_JVM=-Xmx5000m %BASEX_JVM% >>> >>> Regards, >>> Cosntantine >>> >>> >>> From: basex-talk-bounces at mailman.uni-konstanz.de >>> [mailto:basex-talk-bounces at mailman.uni-konstanz.de] On Behalf Of >>> michele.greco2 at email.it >>> Sent: 01 March 2016 10:48 >>> To: basex-talk at mailman.uni-konstanz.de >>> Subject: [basex-talk] out of main memory >>> >>> Hi, i get the error "out of main memory", when i run my query on a >>> collection in basex gui. >>> How can i fix? >>> How can i increase my memory? >>> Regards >>> Michele >>> >>> ---- >>> ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per >>> tutti i dettagli clicca qui >>> >>> Sponsor: >>> Idee regalo classiche o alternative? Trova l'offerta migliore in un click >>> Clicca qui >>> >>> ________________________________ >>> Elsevier B.V. Registered Office: Radarweg 29, 1043 NX Amsterdam, The >>> Netherlands, Registration No. 33156677, Registered in The Netherlands. >>> >>> >>> ---- >>> ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per >>> tutti i dettagli clicca qui >>> >>> Sponsor: >>> Idee regalo classiche o alternative? Trova l'offerta migliore in un click >>> Clicca qui >> >> >> ---- >> ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per >> tutti i dettagli clicca qui >> >> Sponsor: >> Caselle con tuo dominio su piattaforma Zimbra, fino a 30 GB di spazio, >> sincronizzazione dati e backup >> Clicca qui > > > ---- > ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per > tutti i dettagli clicca qui > > Sponsor: > Soluzioni di email hosting per tutte le esigenze: dalle caselle gratuite a > quelle professionali su piattaforma Zimbra, da quelle su proprio dominio a > quelle certificate PEC. Confronta le soluzioni > Clicca qui
M
michele.greco23 Mar 2016 15:12 #
I Christian, i tried and this is my error:
Error:Could not create the Java Virtual Machine
Error:A fatal Exception has occured.Program will exit
Quoted text · Christian Grün · 182 lines
--------- Original Message -------- Da: "Christian Grün" <christian.gruen at gmail.com> To: Cc: "Hondros Constantine ELS-AMS" <C.Hondros at elsevier.com>, "BaseX" <basex-talk at mailman.uni-konstanz.de> Oggetto: Re: [basex-talk] out of main memory Data: 03/03/16 11:57 > I tried to do what i suggested Costantine with the value 1024m, but my > memory is alwais 495m. Please try the following: 1. Download the ZIP version of BaseX (http://files.basex.org/releases/latest/) 2. Unzip it, edit bin/basexgui.bat (provided that you are using Windows): OLD: set BASEX_JVM=-Xmx512m %BASEX_JVM% NEW: set BASEX_JVM=-Xmx4g %BASEX_JVM% 3. Start bin/basexgui.bat 4. Click on the lower right memory bar and compare it with the attached screenshot. Does this help? Christian On Thu, Mar 3, 2016 at 12:26 PM, <michele.greco2 at email.it> wrote: > > --------- Original Message -------- > Da: "Christian Grün" <christian.gruen at gmail.com> > To: > Cc: "Hondros Constantine ELS-AMS" <C.Hondros at elsevier.com>, "BaseX" > <basex-talk at mailman.uni-konstanz.de> > Oggetto: Re: [basex-talk] out of main memory > Data: 03/03/16 11:03 > > > >> queries work. The Query on the extraction of text from files. I 495m >> available and would like increase it to at least 1024m. > > So which value did you assign via -Xmx? Do you start BaseX via basexgui.bat? > > >> Michele >> >> --------- Original Message -------- >> Da: "Christian Grün" <christian.gruen at gmail.com> >> To: >> Cc: "Hondros Constantine ELS-AMS" <C.Hondros at elsevier.com>, "BaseX" >> <basex-talk at mailman.uni-konstanz.de> >> Oggetto: Re: [basex-talk] out of main memory >> Data: 03/03/16 10:42 >> >> >> >> Hi Michele, >> >> How much memory do you have available on your system, and how much did >> you assign? What kind of operations are triggering the out-of-memory >> errors? >> >> Christian >> >> >> >> On Thu, Mar 3, 2016 at 9:34 AM, <michele.greco2 at email.it> wrote: >>> Hi Constantine, thanks for your answer. >>> I'm trying to do what you suggested but all my tests so far have had no >>> effect. >>> Do you have any particular which have to be careful as you suggest? >>> >>> Regards, >>> Michele >>> >>> --------- Original Message -------- >>> Da: "Hondros Constantine ELS-AMS" <C.Hondros at elsevier.com> >>> To: "basex-talk at mailman.uni-konstanz.de" >>> <basex-talk at mailman.uni-konstanz.de> >>> Oggetto: RE: [basex-talk] out of main memory >>> Data: 01/03/16 10:07 >>> >>> Hi Michele, >>> >>> 1. Go to <BASEX_INSTALL>/bin >>> 2. Open basexgui.bat (Windows) or basexgui (*nix) >>> 3. Increase value of Xmx in BASEX_JVM variable, from 512 MB to >>> something that your system can support >>> 4. Restart the GUI >>> >>> For example, here is the line from my config I allocate almost 5 >>> Gigabytes of memory >>> >>> set BASEX_JVM=-Xmx5000m %BASEX_JVM% >>> >>> Regards, >>> Cosntantine >>> >>> >>> From: basex-talk-bounces at mailman.uni-konstanz.de >>> [mailto:basex-talk-bounces at mailman.uni-konstanz.de] On Behalf Of >>> michele.greco2 at email.it >>> Sent: 01 March 2016 10:48 >>> To: basex-talk at mailman.uni-konstanz.de >>> Subject: [basex-talk] out of main memory >>> >>> Hi, i get the error "out of main memory", when i run my query on a >>> collection in basex gui. >>> How can i fix? >>> How can i increase my memory? >>> Regards >>> Michele >>> >>> ---- >>> ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per >>> tutti i dettagli clicca qui >>> >>> Sponsor: >>> Idee regalo classiche o alternative? Trova l'offerta migliore in un click >>> Clicca qui >>> >>> ________________________________ >>> Elsevier B.V. Registered Office: Radarweg 29, 1043 NX Amsterdam, The >>> Netherlands, Registration No. 33156677, Registered in The Netherlands. >>> >>> >>> ---- >>> ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per >>> tutti i dettagli clicca qui >>> >>> Sponsor: >>> Idee regalo classiche o alternative? Trova l'offerta migliore in un click >>> Clicca qui >> >> >> ---- >> ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per >> tutti i dettagli clicca qui >> >> Sponsor: >> Caselle con tuo dominio su piattaforma Zimbra, fino a 30 GB di spazio, >> sincronizzazione dati e backup >> Clicca qui > > > ---- > ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per > tutti i dettagli clicca qui > > Sponsor: > Soluzioni di email hosting per tutte le esigenze: dalle caselle gratuite a > quelle professionali su piattaforma Zimbra, da quelle su proprio dominio a > quelle certificate PEC. Confronta le soluzioni > Clicca qui -- ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per tutti i dettagli Clicca qui http://posta.email.it/caselle-di-posta-z-email-it/?utm_campaign=email_Zimbra_102014=main_footer/f Sponsor: Registra i domini che desideri ed inizia a creare il tuo sito web Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=13323&d=3-3
CG
Christian Grün3 Mar 2016 15:15 #
Quoted text · michele.greco2 · 2 lines
> I Christian, i tried and this is my error: > Error:Could not create the Java Virtual Machine
Did you exactly proceed as described in my last mail? How does the modified line in your script look like?
Quoted text · michele.greco2 · 176 lines
> > > --------- Original Message -------- > Da: "Christian Grün" <christian.gruen at gmail.com> > To: > Cc: "Hondros Constantine ELS-AMS" <C.Hondros at elsevier.com>, "BaseX" > <basex-talk at mailman.uni-konstanz.de> > Oggetto: Re: [basex-talk] out of main memory > Data: 03/03/16 11:57 > >> I tried to do what i suggested Costantine with the value 1024m, but my >> memory is alwais 495m. > > Please try the following: > > 1. Download the ZIP version of BaseX > (http://files.basex.org/releases/latest/) > > 2. Unzip it, edit bin/basexgui.bat (provided that you are using Windows): > > OLD: > set BASEX_JVM=-Xmx512m %BASEX_JVM% > > NEW: > set BASEX_JVM=-Xmx4g %BASEX_JVM% > > 3. Start bin/basexgui.bat > > 4. Click on the lower right memory bar and compare it with the > attached screenshot. > > Does this help? > Christian > > > > On Thu, Mar 3, 2016 at 12:26 PM, <michele.greco2 at email.it> wrote: >> >> --------- Original Message -------- >> Da: "Christian Grün" <christian.gruen at gmail.com> >> To: >> Cc: "Hondros Constantine ELS-AMS" <C.Hondros at elsevier.com>, "BaseX" >> <basex-talk at mailman.uni-konstanz.de> >> Oggetto: Re: [basex-talk] out of main memory >> Data: 03/03/16 11:03 >> >> >> >>> queries work. The Query on the extraction of text from files. I 495m >>> available and would like increase it to at least 1024m. >> >> So which value did you assign via -Xmx? Do you start BaseX via >> basexgui.bat? >> >> >>> Michele >>> >>> --------- Original Message -------- >>> Da: "Christian Grün" <christian.gruen at gmail.com> >>> To: >>> Cc: "Hondros Constantine ELS-AMS" <C.Hondros at elsevier.com>, "BaseX" >>> <basex-talk at mailman.uni-konstanz.de> >>> Oggetto: Re: [basex-talk] out of main memory >>> Data: 03/03/16 10:42 >>> >>> >>> >>> Hi Michele, >>> >>> How much memory do you have available on your system, and how much did >>> you assign? What kind of operations are triggering the out-of-memory >>> errors? >>> >>> Christian >>> >>> >>> >>> On Thu, Mar 3, 2016 at 9:34 AM, <michele.greco2 at email.it> wrote: >>>> Hi Constantine, thanks for your answer. >>>> I'm trying to do what you suggested but all my tests so far have had no >>>> effect. >>>> Do you have any particular which have to be careful as you suggest? >>>> >>>> Regards, >>>> Michele >>>> >>>> --------- Original Message -------- >>>> Da: "Hondros Constantine ELS-AMS" <C.Hondros at elsevier.com> >>>> To: "basex-talk at mailman.uni-konstanz.de" >>>> <basex-talk at mailman.uni-konstanz.de> >>>> Oggetto: RE: [basex-talk] out of main memory >>>> Data: 01/03/16 10:07 >>>> >>>> Hi Michele, >>>> >>>> 1. Go to <BASEX_INSTALL>/bin >>>> 2. Open basexgui.bat (Windows) or basexgui (*nix) >>>> 3. Increase value of Xmx in BASEX_JVM variable, from 512 MB to >>>> something that your system can support >>>> 4. Restart the GUI >>>> >>>> For example, here is the line from my config I allocate almost 5 >>>> Gigabytes of memory >>>> >>>> set BASEX_JVM=-Xmx5000m %BASEX_JVM% >>>> >>>> Regards, >>>> Cosntantine >>>> >>>> >>>> From: basex-talk-bounces at mailman.uni-konstanz.de >>>> [mailto:basex-talk-bounces at mailman.uni-konstanz.de] On Behalf Of >>>> michele.greco2 at email.it >>>> Sent: 01 March 2016 10:48 >>>> To: basex-talk at mailman.uni-konstanz.de >>>> Subject: [basex-talk] out of main memory >>>> >>>> Hi, i get the error "out of main memory", when i run my query on a >>>> collection in basex gui. >>>> How can i fix? >>>> How can i increase my memory? >>>> Regards >>>> Michele >>>> >>>> ---- >>>> ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per >>>> tutti i dettagli clicca qui >>>> >>>> Sponsor: >>>> Idee regalo classiche o alternative? Trova l'offerta migliore in un >>>> click >>>> Clicca qui >>>> >>>> ________________________________ >>>> Elsevier B.V. Registered Office: Radarweg 29, 1043 NX Amsterdam, The >>>> Netherlands, Registration No. 33156677, Registered in The Netherlands. >>>> >>>> >>>> ---- >>>> ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per >>>> tutti i dettagli clicca qui >>>> >>>> Sponsor: >>>> Idee regalo classiche o alternative? Trova l'offerta migliore in un >>>> click >>>> Clicca qui >>> >>> >>> ---- >>> ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per >>> tutti i dettagli clicca qui >>> >>> Sponsor: >>> Caselle con tuo dominio su piattaforma Zimbra, fino a 30 GB di spazio, >>> sincronizzazione dati e backup >>> Clicca qui >> >> >> ---- >> ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per >> tutti i dettagli clicca qui >> >> Sponsor: >> Soluzioni di email hosting per tutte le esigenze: dalle caselle gratuite a >> quelle professionali su piattaforma Zimbra, da quelle su proprio dominio a >> quelle certificate PEC. Confronta le soluzioni >> Clicca qui > > > ---- > ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per > tutti i dettagli clicca qui > > Sponsor: > Idee regalo classiche o alternative? Trova l'offerta migliore in un click > Clicca qui
M
michele.greco24 Mar 2016 09:15 #
Hi Christian, i solved and managed to increase the memory,changing basex.bat and not basexgui.bat.
Thanks for your help.
Regards,
Michele
Quoted text · Christian Grün · 225 lines
--------- Original Message -------- Da: "Christian Grün" <christian.gruen at gmail.com> To: Cc: "Hondros Constantine ELS-AMS" <C.Hondros at elsevier.com>, "BaseX" <basex-talk at mailman.uni-konstanz.de> Oggetto: Re: [basex-talk] out of main memory Data: 03/03/16 14:38 > I Christian, i tried and this is my error: > Error:Could not create the Java Virtual Machine Did you exactly proceed as described in my last mail? How does the modified line in your script look like? > > > --------- Original Message -------- > Da: "Christian Grün" <christian.gruen at gmail.com> > To: > Cc: "Hondros Constantine ELS-AMS" <C.Hondros at elsevier.com>, "BaseX" > <basex-talk at mailman.uni-konstanz.de> > Oggetto: Re: [basex-talk] out of main memory > Data: 03/03/16 11:57 > >> I tried to do what i suggested Costantine with the value 1024m, but my >> memory is alwais 495m. > > Please try the following: > > 1. Download the ZIP version of BaseX > (http://files.basex.org/releases/latest/) > > 2. Unzip it, edit bin/basexgui.bat (provided that you are using Windows): > > OLD: > set BASEX_JVM=-Xmx512m %BASEX_JVM% > > NEW: > set BASEX_JVM=-Xmx4g %BASEX_JVM% > > 3. Start bin/basexgui.bat > > 4. Click on the lower right memory bar and compare it with the > attached screenshot. > > Does this help? > Christian > > > > On Thu, Mar 3, 2016 at 12:26 PM, <michele.greco2 at email.it> wrote: >> >> --------- Original Message -------- >> Da: "Christian Grün" <christian.gruen at gmail.com> >> To: >> Cc: "Hondros Constantine ELS-AMS" <C.Hondros at elsevier.com>, "BaseX" >> <basex-talk at mailman.uni-konstanz.de> >> Oggetto: Re: [basex-talk] out of main memory >> Data: 03/03/16 11:03 >> >> >> >>> queries work. The Query on the extraction of text from files. I 495m >>> available and would like increase it to at least 1024m. >> >> So which value did you assign via -Xmx? Do you start BaseX via >> basexgui.bat? >> >> >>> Michele >>> >>> --------- Original Message -------- >>> Da: "Christian Grün" <christian.gruen at gmail.com> >>> To: >>> Cc: "Hondros Constantine ELS-AMS" <C.Hondros at elsevier.com>, "BaseX" >>> <basex-talk at mailman.uni-konstanz.de> >>> Oggetto: Re: [basex-talk] out of main memory >>> Data: 03/03/16 10:42 >>> >>> >>> >>> Hi Michele, >>> >>> How much memory do you have available on your system, and how much did >>> you assign? What kind of operations are triggering the out-of-memory >>> errors? >>> >>> Christian >>> >>> >>> >>> On Thu, Mar 3, 2016 at 9:34 AM, <michele.greco2 at email.it> wrote: >>>> Hi Constantine, thanks for your answer. >>>> I'm trying to do what you suggested but all my tests so far have had no >>>> effect. >>>> Do you have any particular which have to be careful as you suggest? >>>> >>>> Regards, >>>> Michele >>>> >>>> --------- Original Message -------- >>>> Da: "Hondros Constantine ELS-AMS" <C.Hondros at elsevier.com> >>>> To: "basex-talk at mailman.uni-konstanz.de" >>>> <basex-talk at mailman.uni-konstanz.de> >>>> Oggetto: RE: [basex-talk] out of main memory >>>> Data: 01/03/16 10:07 >>>> >>>> Hi Michele, >>>> >>>> 1. Go to <BASEX_INSTALL>/bin >>>> 2. Open basexgui.bat (Windows) or basexgui (*nix) >>>> 3. Increase value of Xmx in BASEX_JVM variable, from 512 MB to >>>> something that your system can support >>>> 4. Restart the GUI >>>> >>>> For example, here is the line from my config I allocate almost 5 >>>> Gigabytes of memory >>>> >>>> set BASEX_JVM=-Xmx5000m %BASEX_JVM% >>>> >>>> Regards, >>>> Cosntantine >>>> >>>> >>>> From: basex-talk-bounces at mailman.uni-konstanz.de >>>> [mailto:basex-talk-bounces at mailman.uni-konstanz.de] On Behalf Of >>>> michele.greco2 at email.it >>>> Sent: 01 March 2016 10:48 >>>> To: basex-talk at mailman.uni-konstanz.de >>>> Subject: [basex-talk] out of main memory >>>> >>>> Hi, i get the error "out of main memory", when i run my query on a >>>> collection in basex gui. >>>> How can i fix? >>>> How can i increase my memory? >>>> Regards >>>> Michele >>>> >>>> ---- >>>> ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per >>>> tutti i dettagli clicca qui >>>> >>>> Sponsor: >>>> Idee regalo classiche o alternative? Trova l'offerta migliore in un >>>> click >>>> Clicca qui >>>> >>>> ________________________________ >>>> Elsevier B.V. Registered Office: Radarweg 29, 1043 NX Amsterdam, The >>>> Netherlands, Registration No. 33156677, Registered in The Netherlands. >>>> >>>> >>>> ---- >>>> ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per >>>> tutti i dettagli clicca qui >>>> >>>> Sponsor: >>>> Idee regalo classiche o alternative? Trova l'offerta migliore in un >>>> click >>>> Clicca qui >>> >>> >>> ---- >>> ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per >>> tutti i dettagli clicca qui >>> >>> Sponsor: >>> Caselle con tuo dominio su piattaforma Zimbra, fino a 30 GB di spazio, >>> sincronizzazione dati e backup >>> Clicca qui >> >> >> ---- >> ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per >> tutti i dettagli clicca qui >> >> Sponsor: >> Soluzioni di email hosting per tutte le esigenze: dalle caselle gratuite a >> quelle professionali su piattaforma Zimbra, da quelle su proprio dominio a >> quelle certificate PEC. Confronta le soluzioni >> Clicca qui > > > ---- > ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per > tutti i dettagli clicca qui > > Sponsor: > Idee regalo classiche o alternative? Trova l'offerta migliore in un click > Clicca qui -- ZE-Light e ZE-Pro: servizi zimbra per caselle con dominio email.it, per tutti i dettagli Clicca qui http://posta.email.it/caselle-di-posta-z-email-it/?utm_campaign=email_Zimbra_102014=main_footer/f Sponsor: Soluzioni di email hosting per tutte le esigenze: dalle caselle gratuite a quelle professionali su piattaforma Zimbra, da quelle su proprio dominio a quelle certificate PEC. Confronta le soluzioni Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=13326&d=4-3
Written for BaseX 8.4. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery