Hi all,
I am having a trouble in identifying Java Memory Leakage in my java program.I want to check where the memory lecakage gets occurs.Is any tools are available for the java program to analyze the memory leckage.

Thank you,

With Regards,

Are you certain you have a memory leak? Because Java does its own garbage collection the only way to "leak" memory in pure Java is to keep references to objects you no longer need. There aren't too many ways to do that in an unlimited way - adding to Collections (eg ArrayList) but not removing afterwards, and recursion being the two most common. If you're creating a lot of windows, remember to dispose() them as soon as you are finished with them.

Thank you for your response.But i need some tools to check for the memory leak in my program.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.