aspose file tools*
The moose likes Java in General and the fly likes Memory Leakage 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 » Java in General
Bookmark "Memory Leakage" Watch "Memory Leakage" New topic
Author

Memory Leakage

Vallabhaneni Suresh Kumar
Ranch Hand

Joined: Mar 01, 2004
Posts: 68
Is memory leakage possible in Java? If yes, can you describe a case in which memory leaks may occur, and do you know a way to avoid that?

Thank you
Vijay Dogra
Greenhorn

Joined: Sep 16, 2004
Posts: 22
Hello,
Well there is one such case where in you call using JNI code. In the called code you forget to cleanup. In that case there is memory leakage.
Sripathi Krishnamurthy
Ranch Hand

Joined: Mar 07, 2005
Posts: 232
Originally posted by Vallabhaneni Suresh Kumar:
Is memory leakage possible in Java? If yes, can you describe a case in which memory leaks may occur, and do you know a way to avoid that?

Thank you


First of all, you have to be clear in saying what you mean by "memory leakage". Do you mean to say that, memory not being deallocated by JVM/garbage collector hasnt collected unused objects and released memory?
If yes, this is the right link foryou. Java World Memory Link Q & A
[ September 30, 2005: Message edited by: Sripathi Krishnamurthy ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Memory Leakage