This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Jboss Memory out of error when generating BIRT Reports Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Jboss Memory out of error when generating BIRT Reports" Watch "Jboss Memory out of error when generating BIRT Reports" New topic
Author

Jboss Memory out of error when generating BIRT Reports

Gihan Pandigamage
Ranch Hand

Joined: Aug 23, 2009
Posts: 60
Hi guys,
I have a big issue with my project. when I launch it on my local machine all BIRT reports and ohter functionalities of my project works fine. but when I deployed it to Jboss server (.ear) for normal operations works fine. when generating a report jboss gives out of memory error. this happens when i generate small report even. after that i should restart the jboss server. PLEASE HELP ME............. the error as follows.

Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5811
    
    7

You ran out of permgen space. Try increasing that (-XX:MaxPermSize), it is one of the JAVA_OPTS settings in run.conf or run.conf.bat.

By the way which OS and what version of JBoss AS?


JBoss In Action
Gihan Pandigamage
Ranch Hand

Joined: Aug 23, 2009
Posts: 60
I already increased the size but problem exists samae.it's windows server 2003 and jboss 5.1
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5811
    
    7

Are you running JBoss AS as a service using service.bat? If so, have you seen this: https://issues.jboss.org/browse/JBNATIVE-59

If you are not running as a service, when JBoss AS starts it prints out the JAVA_OPTS settings, post that.
Gihan Pandigamage
Ranch Hand

Joined: Aug 23, 2009
Posts: 60
Thank guys it was fixed.
This is the way I fix it.
cut the "set JAVA_OPTS=-Xrs" option from jboss-5.1.0.GA\bin\service.bat file and paste it to jboss-5.1.0.GA\bin\run.config.bat before the "set JAVA_OPTS=-Xms128M -Xmx512M -XX:MaxPermSize=1024M" line
now the run.config.bat file looks like this.

Thank you very much Peter for helping me.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5811
    
    7

And thank you for providing the details on your fix, that will help others later that come across this post.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jboss Memory out of error when generating BIRT Reports
 
Similar Threads
Enhydra Enterprise 6.2-2 and Enhydra Server 6.2-2 are released
Enhydra JaWE 2.0 - graphical workflow editor
Tomcat5 fails with MissingResourceException
Caused by: java.lang.InstantiationException
Struts integrating with birt viewer