Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Birt 2.6.1 runtime engine OutOfMemory - PermGen space
Birt 2.6.1 runtime engine OutOfMemory - PermGen space [message #718464] Wed, 24 August 2011 12:30 Go to next message
mutantu2002 is currently offline mutantu2002Friend
Messages: 2
Registered: August 2011
Junior Member
I'm testing a chart report in a simple Java application with stand-alone
Birt runtime engine 2.6.1.
When executing sequentially, the PermGen memory looks like a saw (class loading at every report executed), and in the long run no class loading related memory leak appears.
But when executing several reports in parallel, the PermGen space begins to fill, and for a number of reports I get an OutOfMemory PermGen space exception.
For instance, with 100 report runned in parallel and a MaxPermSize of 80M I've got this exception.
My question is if this is a expected behavior for Birt engine or I can avoid this permanent class loading for each report? Maybe there are some class loading related settings when starting the platform that I missed.
I can see in a profiler that very much time is spend on class loading when executing a report, and a lot of ClassNotFoundException instantiation and this for sure not looks very healthy even if the report is correctly rendered.
Maybe Birt 3.7.0 with the new POJO runtime solve this memory/optimization problem?
Thanks
Re: Birt 2.6.1 runtime engine OutOfMemory - PermGen space [message #718554 is a reply to message #718464] Wed, 24 August 2011 16:32 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Are you setting the jvm parameter -XX:MaxPermSize=256M?

Jason

On 8/24/2011 8:30 AM, mutantu2002 wrote:
> I'm testing a chart report in a simple Java application with stand-alone
> Birt runtime engine 2.6.1.
> When executing sequentially, the PermGen memory looks like a saw (class
> loading at every report executed), and in the long run no class loading
> related memory leak appears.
> But when executing several reports in parallel, the PermGen space begins
> to fill, and for a number of reports I get an OutOfMemory PermGen space
> exception.
> For instance, with 100 report runned in parallel and a MaxPermSize of
> 80M I've got this exception.
> My question is if this is a expected behavior for Birt engine or I can
> avoid this permanent class loading for each report? Maybe there are some
> class loading related settings when starting the platform that I missed.
> I can see in a profiler that very much time is spend on class loading
> when executing a report, and a lot of ClassNotFoundException
> instantiation and this for sure not looks very healthy even if the
> report is correctly rendered.
> Maybe Birt 3.7.0 with the new POJO runtime solve this
> memory/optimization problem?
> Thanks
Re: Birt 2.6.1 runtime engine OutOfMemory - PermGen space [message #718719 is a reply to message #718554] Thu, 25 August 2011 07:12 Go to previous messageGo to next message
mutantu2002 is currently offline mutantu2002Friend
Messages: 2
Registered: August 2011
Junior Member
Increasing the MaxPermSize will allow more reports to be executed in parallel, it's true, but I just want to know if this is a normal behaviour of Birt engine or there are paramaters to be set in order to change how the classes are loaded.
I use Birt engine in a server that can execute many reports in the same time, and currently I get OutOfMemory for aprox. 10 reports simultanelly.
I need to know if my resolution would be to increase MaxPermSize to a acceptable size or is anything else I can do.

Jason Weathersby wrote on Wed, 24 August 2011 12:32
Are you setting the jvm parameter -XX:MaxPermSize=256M?

Jason

Re: Birt 2.6.1 runtime engine OutOfMemory - PermGen space [message #718894 is a reply to message #718719] Thu, 25 August 2011 15:04 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

I do not believe there are any other settings, but you can open a
bugzilla entry to just verify.

Jason

On 8/25/2011 3:12 AM, mutantu2002 wrote:
> Increasing the MaxPermSize will allow more reports to be executed in
> parallel, it's true, but I just want to know if this is a normal
> behaviour of Birt engine or there are paramaters to be set in order to
> change how the classes are loaded.
> I use Birt engine in a server that can execute many reports in the same
> time, and currently I get OutOfMemory for aprox. 10 reports simultanelly.
> I need to know if my resolution would be to increase MaxPermSize to a
> acceptable size or is anything else I can do.
>
> Jason Weathersby wrote on Wed, 24 August 2011 12:32
>> Are you setting the jvm parameter -XX:MaxPermSize=256M?
>>
>> Jason
>
>
Previous Topic:Using several Flat Files for one chart
Next Topic:java dates and birt dates
Goto Forum:
  


Current Time: Sat Apr 20 00:25:29 GMT 2024

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

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

Back to the top