Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » PermGen Space Error running BIRT reports
PermGen Space Error running BIRT reports [message #643801] Wed, 08 December 2010 10:39 Go to next message
Iain  is currently offline Iain Friend
Messages: 6
Registered: December 2010
Junior Member
Im running into the PermGen space issue when I attempt to run Birt reports from within my application when I am running Tomcat within Eclipse.

My ini file is as follows:

-Xms512m
-Xmx512m
-XX:MaxPermSize=256m

However, Ive tried most ever configuration of heap Xms, Xmx and XX:MaxPermSize.

Eclipse Version: Helios Service Release 1
Build id: 20100917-0705
Birt: 2.6.1

java -version gives:
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)

As soon as I starting running Birt reports I get the following error (or similar):

SEVERE: Error processing request
java.lang.OutOfMemoryError: PermGen space
Re: PermGen Space Error running BIRT reports [message #643906 is a reply to message #643801] Wed, 08 December 2010 16:25 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Is this starting another jvm to run tomcat on? You can add the jvm
setting to the catalina.bat file.

Jason

On 12/8/2010 5:39 AM, Iain wrote:
> Im running into the PermGen space issue when I attempt to run Birt
> reports from within my application when I am running Tomcat within Eclipse.
>
> My ini file is as follows:
>
> -Xms512m
> -Xmx512m
> -XX:MaxPermSize=256m
>
> However, Ive tried most ever configuration of heap Xms, Xmx and
> XX:MaxPermSize.
>
> Eclipse Version: Helios Service Release 1
> Build id: 20100917-0705
> Birt: 2.6.1
>
> java -version gives:
> java version "1.6.0_22"
> Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
> Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)
>
> As soon as I starting running Birt reports I get the following error (or
> similar):
>
> SEVERE: Error processing request
> java.lang.OutOfMemoryError: PermGen space
Re: PermGen Space Error running BIRT reports [message #643930 is a reply to message #643906] Wed, 08 December 2010 17:49 Go to previous messageGo to next message
Iain  is currently offline Iain Friend
Messages: 6
Registered: December 2010
Junior Member
Hi, thanks for getting back to me.

I'm running Tomcat from within Eclipse which, I believe, means that it doesn't use the Catalina.bat file.

I'm starting my server from within Eclipse. Within Eclipse's Tomcat configuration I have the following VM arguments:

-Dcatalina.base=" C:\workspace_svn\.metadata\.plugins\org.eclipse.wst.server.c ore\tmp1 " -Dcatalina.home="C:\tomcat" -Dwtp.deploy=" C:\workspace_svn\.metadata\.plugins\org.eclipse.wst.server.c ore\tmp1\wtpwebapps " -Djava.endorsed.dirs="C:\tomcat\endorsed" -Xmx1024m

The classpath tab the bootstrap entry is set to have the jdk1.6.0_22 for the JRE system library. Do you think it's also possible to reference the jvm in these Java options?
Re: PermGen Space Error running BIRT reports [message #643962 is a reply to message #643930] Wed, 08 December 2010 20:11 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Can you add this to the line
-XX:MaxPermSize=256M

Jason

On 12/8/2010 12:49 PM, Iain wrote:
> Hi, thanks for getting back to me.
>
> I'm running Tomcat from within Eclipse which, I believe, means that it
> doesn't use the Catalina.bat file.
>
> I'm starting my server from within Eclipse. Within Eclipse's Tomcat
> configuration I have the following VM arguments:
>
> -Dcatalina.base="
> C:\workspace_svn\.metadata\.plugins\org.eclipse.wst.server.c ore\tmp1 "
> -Dcatalina.home="C:\tomcat" -Dwtp.deploy="
> C:\workspace_svn\.metadata\.plugins\org.eclipse.wst.server.c
> ore\tmp1\wtpwebapps " -Djava.endorsed.dirs="C:\tomcat\endorsed" -Xmx1024m
>
> The classpath tab the bootstrap entry is set to have the jdk1.6.0_22 for
> the JRE system library. Do you think it's also possible to reference the
> jvm in these Java options?
Re: PermGen Space Error running BIRT reports [message #643966 is a reply to message #643962] Wed, 08 December 2010 20:34 Go to previous message
Iain  is currently offline Iain Friend
Messages: 6
Registered: December 2010
Junior Member
That seems to have solved it! I've been running Birt reports for the last 10 minutes and no PermGen issues when previously I was getting them almost instantly.

Thanks so much Jason.
Previous Topic:Scripted DataSet classpath question
Next Topic:Unable to access selected values of a ListBox type parameter
Goto Forum:
  


Current Time: Fri Mar 29 09:49:44 GMT 2024

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

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

Back to the top