Hi,

I have published a large XAR import script which instead of working with
an uploaded file (which causes an issue because large XAR files - over
20Megabytes -  cannot be attached in the Wiki at all or without a
significant increase in JVM memory settings when hte file is not VERY
large) works with a file on the server file system. Also it works to
import page by page in order to scale to really very large XARs (the
standard import API is also limited since it needs to be able to load
all documents in memory which is of course impossible if the XAR is
bigger than the memory settings of the JVM).

http://code.xwiki.org/xwiki/bin/view/Snippets/LargeXARImportScriptSnippet

We have tested it for some wiki migrations from ISO to UTF which have to
be done using XAR import/export and it worked fine, but it has not been
fully reviewed and can still have some issues. Let me know here if you
experience issues.

Ludovic

--
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost


_______________________________________________
curriki-devs mailing list
curriki-d...@xwiki.org
http://lists.xwiki.org/mailman/listinfo/curriki-devs

_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to