aspose file tools*
The moose likes Java in General and the fly likes Memory Leak Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Memory Leak" Watch "Memory Leak" New topic
Author

Memory Leak

Arka Sharma
Ranch Hand

Joined: Jun 15, 2011
Posts: 103

Hi,

I have an enterprise project where I have to detect memory leaks.I have deployed the application in JBoss and monitored JBoss with jConsole.In the memory graph I see a permanent gradually increase of almost 300 MB.The application ran for 10 hours.No I have to figure out which are the objects have not been dereferenced.I have tried to profile the application with VisualVm by configuring the VM but it crashed.I'm not using any commercial profiler like JProfiler.
Is there any way to detect which objects are actually there in the memory and have not being dereferenced.

Thanks,
Arka
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18672
    
    8

I used JProfiler several years ago and if I remember correctly, it did exactly that. I expect it still does.
 
jQuery in Action, 2nd edition
 
subject: Memory Leak