Hi,

I am using the JBoss Profiler to find out the memory leaks in my application. I have 
configured the profiler, and am viewing the profile files. 

It shows me 4 GC Operations. In the first GC Operation details, it shows me a few 
bytes which were used and released, however as I view the 2nd, 3rd and 4th GC 
Operations, it says that no memory has been released, and there is a constant increase 
in the bytes used. Does that mean there is a sure memory leak, as when I go and have a 
look at the code, it doesnt look like a memory leak.

For example, the profiler complains that the function A() is having a String memory 
leak. However the function A() simply says:

return new String("INTERVAL");

Some knowledge about how the JBoss Profiler calculates the memory leaks would be 
really helpful.

Thanks in advance,
Amit


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849405#3849405

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849405


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to