Hello,
I am trying to load a big xml dataset into the Basex but I am in trouble because it is taking so much time and then the message below is returned:
Out of Main Memory. The following hints might help you: - increase Java's heap size with the flag -Xmx<size> - choose the internal XML parser in the GUI or via 'set intparse on' - deactivate the text and attribute indexes
So I read the help topic in the web site http://comments.gmane.org/gmane.text.xml.basex.talk/2540
I realized that I didn't have set ADDCACHE ON.
After that I wrote the following command lines on the linux OS:
BaseX 7.0.2 [Client] Try "help" to get more information.
CREATE DB bd_inex2009
Database 'bd_inex2009' created in 66.81 ms.
SET AUTOFLUSH false
AUTOFLUSH: OFF
SET ADDCACHE true
Unknown option 'ADDCACHE'.
SET INTPARSE true
INTPARSE: ON
SET DTD false
DTD: OFF
ADD /home/arwen/daiane_oracle/loading_inex2009/new_page_xml2
Out of Main Memory.
The problema persist yet.
Finaly I downloaded the latest Basex release for Ubunto by the link https://launchpad.net/ubuntu/+source/basex/7.7.2-1
I don't know how to install the basex_7.7.2-1.debian.tar.gz on the server.
Could you give me some help?
I really need to load this database with those xml to complete a academic task. Regards
Daiane
- increase Java's heap size with the flag -Xmx<size>
- choose the internal XML parser in the GUI or via 'set intparse on'
- deactivate the text and attribute indexes
If the problem persists with 7.8, you could try to deactivate value indexing (create textindex off; create attrindex off) or increase the assigned memory in the start scripts (/usr/bin/basex or [1]) to e.g. -Xmx4g (provided that you are using the 64 bit version of Java, and that your system has enough RAM).
Hope this helps, Christian
[1] http://docs.basex.org/wiki/Start_Scripts
On Tue, Jan 28, 2014 at 11:46 PM, DAIANE ROBERTA CANDIDA dairc_8@hotmail.com wrote:
Hello,
I am trying to load a big xml dataset into the Basex but I am in trouble because it is taking so much time and then the message below is returned:
Out of Main Memory. The following hints might help you:
So I read the help topic in the web site http://comments.gmane.org/gmane.text.xml.basex.talk/2540
I realized that I didn't have set ADDCACHE ON.
After that I wrote the following command lines on the linux OS:
BaseX 7.0.2 [Client] Try "help" to get more information.
CREATE DB bd_inex2009
Database 'bd_inex2009' created in 66.81 ms.
SET AUTOFLUSH false
AUTOFLUSH: OFF
SET ADDCACHE true
Unknown option 'ADDCACHE'.
SET INTPARSE true
INTPARSE: ON
SET DTD false
DTD: OFF
ADD /home/arwen/daiane_oracle/loading_inex2009/new_page_xml2
Out of Main Memory.
The problema persist yet.
Finaly I downloaded the latest Basex release for Ubunto by the link https://launchpad.net/ubuntu/+source/basex/7.7.2-1
I don't know how to install the basex_7.7.2-1.debian.tar.gz on the server.
Could you give me some help?
I really need to load this database with those xml to complete a academic task. Regards
Daiane
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
basex-talk@mailman.uni-konstanz.de