leak : Java Glossary


A memory leak is where an unreferenced object that will never be used again still hangs around in memory. These are very common in C/ C++. All you have to do is fail to manually delete an object. In Java, in theory, leaks are impossible, since Java automatically garbage collects unreferenced objects. However, it is still possible in Java to have a reference to an Object that you will never use again. That is called packratting. Some of it can be avoided, some not.

This page is posted
on the web at:


Optional Replicator mirror
of mindprod.com
on local hard disk J:

Canadian Mind Products
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

Your face IP:[]
You are visitor number