Skip to main content



      Home
Home » Archived » BIRT » out of PermGen space when generating birt report
out of PermGen space when generating birt report [message #258106] Fri, 12 October 2007 13:21 Go to next message
Eclipse UserFriend
Hi,

I'm getting "java.lang.OutOfMemoryError: PermGen space". How do I get BIRT
runtime engine to ask for more space?
In previewing the report it's fine (since I use those vm arguments when I
start up eclipse) but not when I try to generate the report in the server
that I deployed it on.

I read somewhere that you can configure some genxxxx.sh (to ask for more
memory) in a BIRT's runtime engine folder but I can't find that in my
workspace.
Or in some OSGI configuration somewhere.... which I donno where it is.

I'm using BIRT 2.2.1 and JDK1.5.

Thanks,
Maria.
Re: out of PermGen space when generating birt report [message #258110 is a reply to message #258106] Fri, 12 October 2007 13:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: user.example.net

Hi
You may change your eclipse.ini with adding -XX:MaxPermSize=256m
at the end of first line. Depending on your memory avaiability you can
also set it higher or lower, ie 512m 128m etc

Please refer to
http://wiki.eclipse.org/FAQ_How_do_I_increase_the_permgen_si ze_available_to_Eclipse%3F.

(message adapted from Tianli below)

Maria Kan wrote:
> Hi,
>
> I'm getting "java.lang.OutOfMemoryError: PermGen space". How do I get BIRT
> runtime engine to ask for more space?
> In previewing the report it's fine (since I use those vm arguments when I
> start up eclipse) but not when I try to generate the report in the server
> that I deployed it on.
>
> I read somewhere that you can configure some genxxxx.sh (to ask for more
> memory) in a BIRT's runtime engine folder but I can't find that in my
> workspace.
> Or in some OSGI configuration somewhere.... which I donno where it is.
>
> I'm using BIRT 2.2.1 and JDK1.5.
>
> Thanks,
> Maria.
Re: out of PermGen space when generating birt report [message #258114 is a reply to message #258110] Fri, 12 October 2007 13:53 Go to previous messageGo to next message
Eclipse UserFriend
My Eclipse is fine, previewing the report in eclipse is fine. It's when I
try to access the report on my server that has problem.

http://localhost:8080/my-report/frameset?__report=test.rptde sign

Maria.

"Achille" <user@example.net> wrote in message
news:feoc7b$e8v$1@build.eclipse.org...
> Hi
> You may change your eclipse.ini with adding -XX:MaxPermSize=256m
> at the end of first line. Depending on your memory avaiability you can
> also set it higher or lower, ie 512m 128m etc
>
> Please refer to
> http://wiki.eclipse.org/FAQ_How_do_I_increase_the_permgen_si ze_available_to_Eclipse%3F.
>
> (message adapted from Tianli below)
>
> Maria Kan wrote:
>> Hi,
>>
>> I'm getting "java.lang.OutOfMemoryError: PermGen space". How do I get
>> BIRT runtime engine to ask for more space?
>> In previewing the report it's fine (since I use those vm arguments when I
>> start up eclipse) but not when I try to generate the report in the server
>> that I deployed it on.
>>
>> I read somewhere that you can configure some genxxxx.sh (to ask for more
>> memory) in a BIRT's runtime engine folder but I can't find that in my
>> workspace.
>> Or in some OSGI configuration somewhere.... which I donno where it is.
>>
>> I'm using BIRT 2.2.1 and JDK1.5.
>>
>> Thanks,
>> Maria.
Re: out of PermGen space when generating birt report [message #258118 is a reply to message #258114] Fri, 12 October 2007 14:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: user.example.net

Greetings
You will need to change the JVM init parameters for your server. If you
are using tomcat for example, you can do the following:
(Linux only?) - place the Java options into the CATALINA_OPTS
environment variable. For example: "-server -XX:MaxPermSize=256m".

For other servers you my try to look at their docs && search to see
where the JVM parameters are specified.

Maria Kan wrote:
> My Eclipse is fine, previewing the report in eclipse is fine. It's when I
> try to access the report on my server that has problem.
>
> http://localhost:8080/my-report/frameset?__report=test.rptde sign
>
> Maria.
Re: out of PermGen space when generating birt report [message #258140 is a reply to message #258118] Fri, 12 October 2007 14:52 Go to previous messageGo to next message
Eclipse UserFriend
Changed the JVM arguments (added in -XX:MaxPermSize=256m) in my run.conf in
JBOSS. It's not crashing anymore.

Thx.
Maria.

"Achille" <user@example.net> wrote in message
news:feoe0o$p4b$1@build.eclipse.org...
> Greetings
> You will need to change the JVM init parameters for your server. If you
> are using tomcat for example, you can do the following:
> (Linux only?) - place the Java options into the CATALINA_OPTS environment
> variable. For example: "-server -XX:MaxPermSize=256m".
>
> For other servers you my try to look at their docs && search to see where
> the JVM parameters are specified.
>
> Maria Kan wrote:
>> My Eclipse is fine, previewing the report in eclipse is fine. It's when I
>> try to access the report on my server that has problem.
>>
>> http://localhost:8080/my-report/frameset?__report=test.rptde sign
>>
>> Maria.
Re: out of PermGen space when generating birt report [message #258376 is a reply to message #258106] Mon, 15 October 2007 11:49 Go to previous message
Eclipse UserFriend
Maria,

There is an issue in the 2.2.1 release of BIRT that will cause "OutOfMemory
PermGen " issues. This will lead to inconsistent product behavior and frequent
crashes. I have blogged the solution to the problem at: http://birtworld.blogspot.com/2007/10/221-memory-woes.html.

In a nutshell, all you need to do is open the eclipse.ini file located in
the ECLIPSE_HOME directory.

Change

--launcher.XXMaxPermSize 256m
to
--XX:MaxPermSize 256m

and the problem will be fixed.

The problem exists in the Platform, and has been resolved for the 3.3.2 build,
but that is not due until this spring. The platform is considering a 3.3.1a
build that will fix the problem.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=203325

Depending on what the platform team decides to do, we may create a new build
of BIRT to resolve this issue.

Scott Rosenbaum



> Hi,
>
> I'm getting "java.lang.OutOfMemoryError: PermGen space". How do I get
> BIRT
> runtime engine to ask for more space?
> In previewing the report it's fine (since I use those vm arguments
> when I
> start up eclipse) but not when I try to generate the report in the
> server
> that I deployed it on.
> I read somewhere that you can configure some genxxxx.sh (to ask for
> more
> memory) in a BIRT's runtime engine folder but I can't find that in my
> workspace.
> Or in some OSGI configuration somewhere.... which I donno where it is.
> I'm using BIRT 2.2.1 and JDK1.5.
>
> Thanks,
> Maria.
Previous Topic:Simple Runtime report example
Next Topic:ReportDesignHandle.getAllImages
Goto Forum:
  


Current Time: Thu Jun 05 19:04:08 EDT 2025

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

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

Back to the top