[
https://issues.apache.org/jira/browse/AVRO-1708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15246016#comment-15246016
]
Ryan Blue commented on AVRO-1708:
---------------------------------
We're replacing the use of weak and identity hashmaps with guava
implementations. If you think this one isn't correct, let's fix it that way.
> Memory leak with WeakIdentityHashMap?
> -------------------------------------
>
> Key: AVRO-1708
> URL: https://issues.apache.org/jira/browse/AVRO-1708
> Project: Avro
> Issue Type: Bug
> Affects Versions: 1.8.0
> Reporter: Zoltan Farkas
>
> WeakIdentityHashMap used in GenericDatumReader has only weak Keys,
> it seems to grow, and values remain in map which looks like a memory leak...
> java WeakhashMap has Weak Entries which allows the GC to collect a entire
> entry, which prevents leaks...
> the javadoc of this class claims: "Implements a combination of WeakHashMap
> and IdentityHashMap." which is not really the case
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)