|
Re: PermGen Space Error running BIRT reports [message #643906 is a reply to message #643801] |
Wed, 08 December 2010 16:25 |
|
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 #643962 is a reply to message #643930] |
Wed, 08 December 2010 20:11 |
|
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?
|
|
|
|
Powered by
FUDForum. Page generated in 0.03326 seconds