I am wondering if someone can clarify how Java allocates memory and manages it to run programs?
I know java allocates memory in the heap. When objects are no longer used the Java runtime employs a garbage collector to delete the used memory of the objects that are no longer used.
Any useful links would be greatly appreciated.
I know java allocates memory in the heap. When objects are no longer used the Java runtime employs a garbage collector to delete the used memory of the objects that are no longer used.
Any useful links would be greatly appreciated.