News for hackers. Stuff that matters.
Re:LeakCanary: Detect all Android memory leaks by infogulch on Friday May 08, 2015 @03:36PM (#9513692)
One could very loosely define a 'leak' as "memory the author didn't expect to be retained past the next few GC cycles".

It looks like this tool helps you check your assumptions about how long your objects are kept alive.

Re:LeakCanary: Detect all Android memory leaks by joncrocks on Friday May 08, 2015 @05:59PM (#9514387)
Indeed. In general Java doesn't have memory 'leaks' in the same way as other languages/runtimes, in that things that are kept hanging around are in theory still accessible.

It's possible to have things hanging about that are theoretically access able about but will never be accessed again, which is generally what's meant by 'a memory leak' in a Java context.