FW: How do I increase Java's heap size with the flag -Xmx<size>?
Hello Dirk, You were right about the command used to increase Java's heap size, but my loading files don't work yet. The server has memory 988g When I put 500g in the option -Xmx it raised the error below: Error occurred during initialization of VM Unable to allocate bit map for parallel garbage collection for the requested heap size. Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. So I decreased it from 500 to 350 then the following error appears Out of Main Memory. You can try to: - increase Java's heap size with the flag -Xmx<size> - deactivate the text and attribute indexes. I already deactivated the indexes FTINDEX: OFF TEXTINDEX: OFF ATTRINDEX: OFF What should I do to import data into the basex? Regards, Daiane.
Hi Daiane, Does your server really has 988GB of RAM?! That would be quite impressive and would definitely not be commodity hardware... You sure about that? How large is your actual data set (number of files and aggregated size of all documents)? If you really have an enormous amount of data with lots of attributes and elements it could simply not work at the moment with BaseX - We would need to have a deeper look into your files. Cheers, Dirk On 31/01/14 12:53, DAIANE ROBERTA CANDIDA wrote:
Hello Dirk,
You were right about the command used to increase Java's heap size, but my loading files don't work yet.
The server has memory 988g When I put 500g in the option -Xmx it raised the error below:
Error occurred during initialization of VM Unable to allocate bit map for parallel garbage collection for the requested heap size. Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.
So I decreased it from 500 to 350 then the following error appears
Out of Main Memory. You can try to: - increase Java's heap size with the flag -Xmx<size> - deactivate the text and attribute indexes.
I already deactivated the indexes
FTINDEX: OFF TEXTINDEX: OFF ATTRINDEX: OFF
What should I do to import data into the basex?
Regards,
Daiane.
_______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
-- Dirk Kirsten, BaseX GmbH, http://basex.org |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz |-- Registergericht Freiburg, HRB: 708285, Geschäftsführer: | Dr. Christian Grün, Dr. Alexander Holupirek, Michael Seiferle `-- Phone: 0049 7531 28 28 676, Fax: 0049 7531 20 05 22
participants (2)
-
DAIANE ROBERTA CANDIDA -
Dirk Kirsten