avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zoltan Farkas (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AVRO-1708) Memory leak with WeakIdentityHashMap?
Date Tue, 21 Jul 2015 20:39:04 GMT
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)

Mime
View raw message