3 ms·
It's important to note that in Java you don't have leaks in the same way that you do in C. When someone refers to Java 'leaks', they actually mean "Objects tha
by joncrocks 10y ago
It's important to note that in Java you don't have leaks in the same way that you do in C.
When someone refers to Java 'leaks', they actually mean "Objects that are kept in memory by references that are never used again, but in theory could be." It's like your code is a hoarder, keeping all those old back-issues of newspapers 'In case I need them again' when in fact they are just taking up space.