Re: OutOfMemoryError PermGen Space...

2010-07-23 Thread Andreas Prieß
ld just a bug in java itself if you ask me. > i think the work around is to give the A class a private constructor: > > private A() {} > > Then i think nothing is tried to be generated. > > > 2010/7/23 Andreas Prieß : >> On 22/07/10 21:53, James Carman wrote: >>> I

Re: OutOfMemoryError PermGen Space...

2010-07-23 Thread Andreas Prieß
On 22/07/10 21:53, James Carman wrote: > I'm running Tomcat, so it's: > > $ env | grep CATALINA > CATALINA_OPTS= -Xmx4096m -Xms2048m -XX:MaxPermSize=1024m > -XX:+UseParallelGC -server Well, if you have increased memory for the permanent generation several times and keep seeing this error, for me