aspose file tools*
The moose likes Performance and the fly likes Reg:Memory Leak in my Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "Reg:Memory Leak in my Application" Watch "Reg:Memory Leak in my Application" New topic
Author

Reg:Memory Leak in my Application

jai jai
Greenhorn

Joined: Mar 03, 2005
Posts: 5
Hi,
I am facing a strange out of memory exception in my stand alone java application.

When i test the memory leakage with jprofiler i could find a object named marketupdateagent$2 is not garbage collected.

But when i try to see the heapwalker for that object i am getting a message like no objects of marketupdateagent$2 could be found in the heap snap shot.
But this object is gradually increasing and occupies huge memory.

Why it is not showing the allocations,references in the heapwalker?

If it is weekly refernced object means it will be garbage collected right???


Then i couldnt able to trace the problem. Can you guys help me to get out of the problem? It is very urgent for me.


Thank you,
Jai
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12806
    
    5
I am going to take a SWAG (Scientific Wild Ass Guess) and say that instances of your inner class member of the "marketupdateagent" class are being attached as Listeners to some graphic component and never removed.

Bill
 
Consider Paul's rocket mass heater.
 
subject: Reg:Memory Leak in my Application