If attachments are the culprit, you should expect "OutOfMemory HeapSpace" 
errors. Permgen errors are
indicative of not enough space for the classes which XWiki includes. Jython 
(used by the {{code}}
macro) is known to cause permgen errors if permgen is not increased.

I have myself encountered these errors and found that by increasing the permgen 
space to 128MB, I
could make them go away permanently.

Caleb


outofmemory permgen errors

On 10/12/2010 04:48 AM, Iola Hagen [ioh] wrote:
> Hi we are having problems with outofmemory permgen errors, we make heavy use 
> of the attachment feature in our xwiki installation and as the site has 
> become more popular the memory errors have increased. I found the email below 
>  as a response to a similar question does anyone know if this has now been 
> resolved.
> 
> We are running XWiki Enterprise 2.1.1.25889, on Windows Server 2008 Tomcat 
> 6.0 with Java 1.6.0_18, the database is SQL server 2008.
> 
> Thanks for any help.
> Cheers
> Iola
> 
> Subject:
> 
> Re: [xwiki-users] Out of memory 
> error<http://markmail.org/message/dctm6ag7j2ci6j42>
> 
> [cid:image001.gif@01CB69F1.481DD2E0]<http://markmail.org/message/dctm6ag7j2ci6j42>
> 
> From:
> 
> Vincent Massol (vinc...@massol.net)
> 
> Date:
> 
> Jul 16, 2009 4:19:39 am
> 
> List:
> 
> org.xwiki.users
> 
> 
> Hi there,
> 
> Unfortunately XWiki is still memory intensive when it comes to attachment 
> manipulation. Thus the memory required depends on the size of the attachment 
> you're uploading.
> 
> Seen the OOM error you're getting you'd need to increase the memory to make 
> it work.
> 
> We really need to look into this and see how we can reduce the memory needs.
> 
> Thanks -Vincent
> 
> 
> 
> 
> 
> _______________________________________________
> devs mailing list
> devs@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs

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

Reply via email to