avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Wilkes <cwil...@gmail.com>
Subject Tomcat complaining about Schema threadlocal not being removed
Date Thu, 09 Jun 2011 18:59:12 GMT
My webapp accepts HTTP POSTs of avro files and I ran into this when

SEVERE: The web application [/mywebapp] created a ThreadLocal with key of
type [org.apache.avro.Schema$2] (value [org.apache.avro.Schema$2@164a40a0])
and a value of type [java.util.IdentityHashMap] (value [{}]) but failed to
remove it when the web application was stopped. This is very likely to
create a memory leak.

Looking at the Schema code it looks like SEEN_EQUALS and SEEN_HASHCODE are
the culprits.

Has anyone else run into this?


View raw message