Import of XAR: Java Heap Space Out Of Memory Exception !
hi all, i created a XAR archive from my existing xwiki db with around 8.5MB in size. When i try to import this archive i get a "java heap space out of memory exception". is there a way to import xar archives this size? or is there a way to select the pages that have to be exported? i'm using xwiki-1.0-rc1 g, kris Kristian Marinkovic mailto:[email protected] Porsche Informatik GmbH Handelszentrum 7, 5101 Bergheim Tel: +43 (0)662 4670 - 6676 Fax: +43 (0)662 4670 - 16676 http://www.porsche-informatik.at/ Sitz: Salzburg FN 72830d / Landesgericht Salzburg DVR: 88439 UID-Nr.: ATU 36773309
Hi Kristian, On Apr 23, 2007, at 11:53 AM, Kristian Marinkovic wrote:
hi all,
i created a XAR archive from my existing xwiki db with around 8.5MB in size. When i try to import this archive i get a "java heap space out of memory exception".
is there a way to import xar archives this size?
Yes, you should increase the memory allocated to the JVM running XWiki. Note: I've just added this information on http://www.xwiki.org/xwiki/bin/view/AdminGuide/ImportExport
or is there a way to select the pages that have to be exported?
Unfortunately not yet. This is planned though but for the 1.1 time frame. However you can easily edit your exported XAR file to remove whatever pages you don't want to import. You'll need to edit the package.xml file too to remove the files from there. Thanks -Vincent
participants (2)
-
Kristian Marinkovic -
Vincent Massol