Zoltan Farkas created AVRO-1708:
-----------------------------------

             Summary: 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)

Reply via email to