Status: New
Owner: ----

New issue 756 by [email protected]: Memory leak by using child injector and multibinder
http://code.google.com/p/google-guice/issues/detail?id=756

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.


Attachments:
        ChildInjectorMemoryLeak.java  1.3 KB

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice-dev.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to