My webapp accepts HTTP POSTs of avro files and I ran into this when
redeploying:

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?

http://wiki.apache.org/tomcat/MemoryLeakProtection#customThreadLocal

Reply via email to