Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » PermGen Space Error Only with Crosstab Report(PermGen Space Error in deploy web app using Tomcat 6)
PermGen Space Error Only with Crosstab Report [message #659376] Sun, 13 March 2011 04:24 Go to next message
Marlon  is currently offline Marlon Friend
Messages: 3
Registered: March 2011
Junior Member
I have the same problem and following the steps for stack space and heap space the error java.lang.OutOfMemoryError: PermGen space continue in production apache-tomcat. Error is gone in apache-tomcat v6.0.26 launched from Eclipse Helios. Curiously the error only arise in all crosstab report when deploy my web app in apache-tomcat. Any help?


Exception:

javax.servlet.ServletException: La ejecución del Servlet lanzó una excepción
org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerF ilter.java:68)

Source:

java.lang.OutOfMemoryError: PermGen space
java.lang.ClassLoader.defineClass1(Native Method)
java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
java.lang.ClassLoader.defineClass(ClassLoader.java:616)
... more trace



JAVA_OPTS in Catalina.sh

JAVA_OPTS="-XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled -Xss128m -Xms128m -Xmx512m -XX:MaxPermSize=256m"

I'am using apache-tomcat v6.0.26 as server for my web app (jsf 2.0 + primefaces 2.2.1 + mojarra 2.0.3 + dali java persistence tools 2.3.3 + birt 2.6.2.r262)

Sorry for my bad english.
Re: PermGen Space Error Only with Crosstab Report [message #659559 is a reply to message #659376] Mon, 14 March 2011 15:14 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Generally this error is caused by this setting
-XX:MaxPermSize=256m
not being high enough, but I would have thought 256 would have been
enough. Can you open a bug for this? You also may want to try a higher
value.

Jason

On 3/12/2011 11:24 PM, Marlon wrote:
> I have the same problem and following the steps for stack space and heap
> space the error java.lang.OutOfMemoryError: PermGen space continue in
> production apache-tomcat. Error is gone in apache-tomcat v6.0.26
> launched from Eclipse Helios. Curiously the error only arise in all
> crosstab report when deploy my web app in apache-tomcat. Any help?
>
>
> Exception:
>
> javax.servlet.ServletException: La ejecución del Servlet lanzó una
> excepción
> org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerF ilter.java:68)
>
> Source:
>
> java.lang.OutOfMemoryError: PermGen space
> java.lang.ClassLoader.defineClass1(Native Method)
> java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
> java.lang.ClassLoader.defineClass(ClassLoader.java:616)
> ... more trace
>
>
>
> JAVA_OPTS in Catalina.sh
>
> JAVA_OPTS="-XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled
> -XX:+CMSClassUnloadingEnabled -Xss128m -Xms128m -Xmx512m
> -XX:MaxPermSize=256m"
>
> I'am using apache-tomcat v6.0.26 as server for my web app (jsf 2.0 +
> primefaces 2.2.1 + mojarra 2.0.3 + dali java persistence tools 2.3.3 +
> birt 2.6.2.r262)
>
> Sorry for my bad english.
Re: PermGen Space Error Only with Crosstab Report [message #659773 is a reply to message #659559] Tue, 15 March 2011 14:44 Go to previous message
Marlon  is currently offline Marlon Friend
Messages: 3
Registered: March 2011
Junior Member
Thank Jason.

I change the VM. Using JRockit with Tomcat error is gone and all crosstab reports work.
Previous Topic:Associated script error "computed column"
Next Topic:Add BIRT runtime library jar files into RCP app?
Goto Forum:
  


Current Time: Thu Nov 27 04:46:48 GMT 2014

Powered by FUDForum. Page generated in 0.08784 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software