Yes, as Christophe said you need to give enough memory to XWiki especially if you have lot's of document in the database.
See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances#HMemory for more details. On Thu, Mar 26, 2009 at 14:08, PERINAUD Christophe <christophe.perin...@kbl-bank.com> wrote: > Hi > > I think you have to change JAVA_OPTS in the script to start the server. > In my case i replaced "set JAVA_OPTS=-Xmx300m" with "set JAVA_OPTS=-Xmx512m" > to allocate 512M for the java process > > Christophe > > -----Message d'origine----- > De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de > Hernández Cuchí, Francisco Ricardo > Envoyé : jeudi 26 mars 2009 14:01 > À : XWiki Users > Objet : Re: [xwiki-users] Export from 1.7 and import in 1.8 > > You are right > > I get this: > > Wrapped Exception: > > > java.lang.OutOfMemoryError: Java heap space > at java.util.Arrays.copyOf(Arrays.java:2882) > at > java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder. > java:100) > at > java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390 > ) > at java.lang.StringBuffer.append(StringBuffer.java:224) > at java.io.StringWriter.write(StringWriter.java:84) > at org.dom4j.io.XMLWriter.writeElement(XMLWriter.java:962) > at org.dom4j.io.XMLWriter.writeNode(XMLWriter.java:1301) > at org.dom4j.io.XMLWriter.writeElementContent(XMLWriter.java:1136) > at org.dom4j.io.XMLWriter.writeElement(XMLWriter.java:954) > at org.dom4j.io.XMLWriter.writeNode(XMLWriter.java:1301) > at org.dom4j.io.XMLWriter.writeElementContent(XMLWriter.java:1136) > at org.dom4j.io.XMLWriter.writeElement(XMLWriter.java:954) > at org.dom4j.io.XMLWriter.writeNode(XMLWriter.java:1301) > at org.dom4j.io.XMLWriter.write(XMLWriter.java:344) > at com.xpn.xwiki.doc.XWikiDocument.toXML(XWikiDocument.java:2261) > at com.xpn.xwiki.doc.XWikiDocument.toXML(XWikiDocument.java:2313) > at com.xpn.xwiki.plugin.packaging.Package.addToZip(Package.java:887) > at com.xpn.xwiki.plugin.packaging.Package.export(Package.java:332) > at > com.xpn.xwiki.plugin.packaging.PackageAPI.export(PackageAPI.java:194) > > at > com.xpn.xwiki.plugin.packaging.PackageAPI.backupWiki(PackageAPI.java: > 215) > at com.xpn.xwiki.web.ExportAction.exportXAR(ExportAction.java:264) > > How can I solve it? > > -----Mensaje original----- > De: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] En nombre de > Thomas Mortagne > Enviado el: jueves, 26 de marzo de 2009 9:49 > Para: XWiki Users > Asunto: Re: [xwiki-users] Export from 1.7 and import in 1.8 > > On Thu, Mar 26, 2009 at 09:44, Hernández Cuchí, Francisco Ricardo > <francisco.hernan...@oepm.es> wrote: >> You are right, I cannot open it (using 7zip). But I rememeber I was able to >> import earlier backups in other xwiki 1.7. ¿Is there any way to send all >> that I have in xwiki1.7 into 1.8? or to see what is corrupting the >> compressed file. Or to make a selective export of spaces? > > Looks like the issue is the export from 1.7 which produce corrupted > xar in your case. Do you have any error/warning in the log when you > try to export xar from 1.7 wiki ? > > If you want to do selective export you can use > http://code.xwiki.org/xwiki/bin/view/Applications/ImportExportApplication > >> >> Thanks, >> >> Francisco >> >> >> >> -----Mensaje original----- >> De: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] En nombre de >> Thomas Mortagne >> Enviado el: jueves, 26 de marzo de 2009 9:34 >> Para: XWiki Users >> Asunto: Re: [xwiki-users] Export from 1.7 and import in 1.8 >> >> Hi, >> >> Looks like your xar is invalid, are you able to open it (rename it to *.zip) >> ? >> >> On Wed, Mar 25, 2009 at 18:46, Hernández Cuchí, Francisco Ricardo >> <francisco.hernan...@oepm.es> wrote: >>> Want to show this from the console: >>> >>> " >>> >>> .XWikiAction - Uncaught exception: Error number 11015 in >>> 11: Exception while importing Wrapped Exception: Unexpected end of ZLIB >>> input stream com.xpn.xwiki.XWikiException: Error number 11015 in 11: >>> Exception while importin g >>> >>> Wrapped Exception: Unexpected end of ZLIB input stream >>> >>> ..." >>> >>> >>> >>> It's a file of 10 megs >>> >>> >>> >>> regards >>> >>> ________________________________ >>> >>> De: Hernández Cuchí, Francisco Ricardo >>> Enviado el: miércoles, 25 de marzo de 2009 17:38 >>> Para: 'XWiki Users' >>> Asunto: Export from 1.7 and import in 1.8 >>> >>> >>> >>> Hello everybody, >>> >>> >>> >>> I create an export xar from xwiki 1.7, and when i try to import i tinto >>> 1.8, I receive that there are no documents in the file. I receive the >>> message that there are no documents in the specified file. >>> >>> >>> >>> Any suggestion? >>> >>> >>> >>> Thanks in advance, >>> >>> >>> >>> Francisco >>> >>> >>> >>> -- >>> >>> Francisco Hernández Cuchí >>> >>> Jefe de Servicios Sistemas de Información >>> >>> tlf: 913496844 >>> >>> mail: francisco.hernan...@oepm.es <mailto:francisco.hernan...@oepm.es> >>> >>> >>> >>> ********************************************************************************************** >>> IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial >>> y está dirigido únicamente >>> para el destinatario/s. >>> Si Ud recibe este correo por error, por favor póngase en contacto con su >>> administrador de correo o con el >>> emisor immediatamente y no difunda su contenido a nadie ni haga copias. >>> *** Este correo ha sido escaneado de virus y contenido malicioso *** >>> ********************************************************************************************** >>> _______________________________________________ >>> users mailing list >>> users@xwiki.org >>> http://lists.xwiki.org/mailman/listinfo/users >>> >> >> >> >> -- >> Thomas Mortagne >> _______________________________________________ >> users mailing list >> users@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/users >> ********************************************************************************************** >> IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial >> y está dirigido únicamente >> para el destinatario/s. >> Si Ud recibe este correo por error, por favor póngase en contacto con su >> administrador de correo o con el >> emisor immediatamente y no difunda su contenido a nadie ni haga copias. >> *** Este correo ha sido escaneado de virus y contenido malicioso *** >> ********************************************************************************************** >> >> _______________________________________________ >> users mailing list >> users@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/users >> > > > > -- > Thomas Mortagne > _______________________________________________ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ********************************************************************************************** > IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y > está dirigido únicamente > para el destinatario/s. > Si Ud recibe este correo por error, por favor póngase en contacto con su > administrador de correo o con el > emisor immediatamente y no difunda su contenido a nadie ni haga copias. > *** Este correo ha sido escaneado de virus y contenido malicioso *** > ********************************************************************************************** > > _______________________________________________ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > -------------------------------------------------------------------------------- > > This e-mail is intended only for the addressee named above. It does not bind > the sender, except in the case of an existing written convention with the > addressee. This e-mail may contain material that is confidential and > privileged for the sole use of the intended recipient. Any review, reliance > or distribution by others or forwarding without express permission is > strictly prohibited and may be unlawful. If you are not the intended > recipient, please contact the sender and delete all copies. > > While reasonable precautions have been taken to ensure that this e-mail and > any attachments are free from any computer virus or similar defect, no > liability will be accepted in that respect. Anyone accessing this e-mail must > take their own precautions as to security and virus protection. > > KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, > R.C.S. Luxembourg B 6395, T (352) 47 97 1 > _______________________________________________ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > -- Thomas Mortagne _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users