Hi, what do you mean by "each loop"?
Regards, Guillaume 2013/8/8 FL <florent.lefevre.part.e...@gmail.com> > Hi, > > I have a problem with the JVM Perm Gen memory. > Server JBoss started with XX:MaxPermSize=256m but it's never enough ... > Each loop adds(consumes) approximatively 1 Mo in the PermGen (from my > batch tool). > When PermGen is full, the JVM fail. > > The cause is these instructions : > > *rhinoTemplate.saveAs(odtFile);* > > or > * > ODSingleXMLDocument odSingleXMLDocument = > selectedTemplate.createDocument(); > odSingleXMLDocument.saveToPackageAs(odtFile);* > > Sorry for my bad english. > Have you any idea for this big problem ? > > -- > > --- > You received this message because you are subscribed to the Google Groups > "jOpenDocument" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jopendocument+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- --- You received this message because you are subscribed to the Google Groups "jOpenDocument" group. To unsubscribe from this group and stop receiving emails from it, send an email to jopendocument+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.