|Birt 2.6.1 runtime engine OutOfMemory - PermGen space [message #718464]
||Wed, 24 August 2011 08:30
Registered: August 2011
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?
|Re: Birt 2.6.1 runtime engine OutOfMemory - PermGen space [message #718894 is a reply to message #718719]
||Thu, 25 August 2011 11:04
| Jason Weathersby
Registered: July 2009
I do not believe there are any other settings, but you can open a |
bugzilla entry to just verify.
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?
Powered by FUDForum
. Page generated in 0.02230 seconds