Closed
Description
From gbloisi on July 15, 2013 12:15:57
The attached minimal example shows how guice child injectors are leaking memory when used with MapBinder.
From the analysis I performed so far it looks like a WeakKeySet instance associated with the parent keeps growing. From what I understand from the code "mapped" instances in child injector are marked in a blacklist of the parent injector and are never released.
Attachment: gist
ChildInjectorMemoryLeak.java
Original issue: http://code.google.com/p/google-guice/issues/detail?id=756