[jboss-user] [JBoss Portal] - Memory Leak
brownfielda
do-not-reply at jboss.com
Wed Jul 25 08:48:18 EDT 2007
I've noticed a slight memory leak when coding a portlet using hibernate. Every time I redeploy my portlet about 2Mb more memory is being used by the JVM.
I was using the ContactPortlet from portletswap as a reference, and found that this also had a memory leak of a smaller size (about .5Mb per deploy).
I did try some non-hibernate portlets and didn't notice any leaks. I will also try the same set-up on my linux box when I get home to see if I can eliminate Apple's JVM as a problem causer.
Due to the nature of memory leaks, I'm having difficulty pinpointing what is causing the problem and seeing if anyone has heard of such problems or can recommend some ideas for testing (new to J2EE, so perhaps I'm forgetting some critical method call upon destruction).
JBoss 2.6 bundled
Hibernate 3.2.4.sp1
OS X 10.4.10
--Andrew
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067382#4067382
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067382
More information about the jboss-user
mailing list