-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: PermGen Space reaching Limit
PostPosted: Mon Apr 30, 2007 7:20 am 
Newbie

Joined: Wed Oct 25, 2006 8:28 am
Posts: 11
I had a problem with Out of Memory exceptions ... This was supposed to be addressed by the following :

http://opensource.atlassian.com/projects/hibernate/browse/HHH-2481


From the Comments, someone even suggested that there was some performance gains too ...


A post on JBoss Forums further indicated that this was a bug with hibernate :

http://www.jboss.com/index.html?module= ... 84#4039784


So i did the necessary upgrades for Javassist and Hibernate 3.2.3.GA and started doing some profiling using JProfiler ....

I have set the perm gen size to 256M


While i can say that i did not get any Out of Memory leaks till now ... I could see the used Heap size getting dangerously near the maximum perm gen space at times .... Besides, the web application tends to be a slow when the perm gen space reaches these levels ....


I would like to know what further improvements i can bring so that the used heap size remains at an acceptable level and how can i improve the performance of the web app in general

I am using EJB 3.0, Hibernate 3.2.3.GA, Seam 1.1.0CR1, JSF/Facelets, MySQL 5.0 ..

I have a relatively small web application with around 73 SFSB which are not using conversations and 78 SLSB and 43 Business objects


I really need help on this because the application is already in production and we are really having problems


Regards,
Jankee Yogesh
Software Developer
M-ITC LTD


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 30, 2007 8:56 am 
Red Hat Associate
Red Hat Associate

Joined: Mon Aug 16, 2004 11:14 am
Posts: 253
Location: Raleigh, NC
Are you hot (re)deploying the application a lot?

-Chris

_________________
Chris Bredesen
Senior Software Maintenance Engineer, JBoss


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 30, 2007 9:09 am 
Newbie

Joined: Wed Oct 25, 2006 8:28 am
Posts: 11
This is an application in production...so no hot deployment is being done ... I am aware of the problem with hot deployment and got it in early stages of development but once the perm gen space size was increased to 256M... this was solved ....


Regards,
Jankee Yogesh,
Software Developer,
M-ITC LTD


Top
 Profile  
 
 Post subject: another solution
PostPosted: Wed May 02, 2007 8:31 am 
Newbie

Joined: Fri Aug 04, 2006 5:39 pm
Posts: 2
Use BEA's jre.
BEA's jre has no permanent heap space so it hasn't this problem at all.

This is especially useful during the development when there's is a lot of deployment cycles. For development it's free.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.