What are Memory Leaks in JVM #Java
First of all Memory leak is not sweeping Unused objects, It is Sweeping referenced objects. Check the clear definition here
Memory leak ::is a common memory problem that also leads to OutOfMemory error.
In Java , memory leaks can not happen as it has automatic Garbage Collection (GC).
GC removes unused objects that are not referenced anymore. But if an object is not used, but is still referenced, GC does not remove it, which leads to memory leaks in JVM .
Memory leak ::is a common memory problem that also leads to OutOfMemory error.
In Java , memory leaks can not happen as it has automatic Garbage Collection (GC).
GC removes unused objects that are not referenced anymore. But if an object is not used, but is still referenced, GC does not remove it, which leads to memory leaks in JVM .

Comments
Post a Comment
feel free to give feedback