Does Java garbage collection guarantee that a program will not run out of memory?
No. Java Programs may use up memory resources faster than they are garbage collected. A Java program can create objects that are not subject to garbage collection.
FAQ Category: Core Java
