Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reg:Memory Leak in my Application

 
jai jai
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13048
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic