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