Was this to the right mailing list?? I am not aware of SOLR is used anywhere in Qi4j (yet)...
On Wed, Jan 26, 2011 at 7:20 PM, Dag Blakstad <[email protected]> wrote: > Hi! > Seems like there is a couple of thread locals that are not cleaned up upon > finishing off. Tomcat logs these as severe, and we have been experiencing > hangs/OutOfMemory in our testenvironment the last couple of days, > 26-Jan-2011 02:17:01 org.apache.catalina.loader.WebappClassLoader > clearThreadLocalMap > SEVERE: A web application created a ThreadLocal with key of type > [org.apache.solr.schema.DateField.ThreadLocalDateFormat] (value > [org.apache.solr.schema.DateField$ThreadLocalDateFormat@1bb334a]) and > a value of type > [org.apache.solr.schema.DateField.ISO8601CanonicalDateFormat] (value > [org.apache.solr.schema.DateField$ISO8601CanonicalDateFormat@6b2ed43a]) but > failed to remove it when the web appli > cation was stopped. To prevent a memory leak, the ThreadLocal has been > forcibly removed. > > 26-Jan-2011 11:09:32 org.apache.catalina.loader.WebappClassLoader > clearThreadLocalMap > SEVERE: A web application created a ThreadLocal with key of type [null] > (value [org.qi4j.api.util.DateFunctions$2@1b93c4c]) and a value of type > [java.text.SimpleDateFormat] (value [java.text.SimpleDa > teFormat@5af7aed5]) but failed to remove it when the web application was > stopped. To prevent a memory leak, the ThreadLocal has been forcibly > removed. > 26-Jan-2011 11:09:32 org.apache.catalina.loader.WebappClassLoader > clearThreadLocalMap > Cheers, > Dag Blakstad > -- > ------------------------------------ > Dag Blakstad > http://no.linkedin.com/in/dagblakstad > http://webstep.no/ansatte/dag-blakstad/ > Senior Consultant Webstep AS > Mobile : +47 95 22 69 22 > Lysaker Torg 2, 1366 Oslo > > Pb 66, 1324 Lysaker > > http://www.webstep.no > Oslo - Bergen - Stavanger - Trondheim > ------------------------------------ > > _______________________________________________ > qi4j-dev mailing list > [email protected] > http://lists.ops4j.org/mailman/listinfo/qi4j-dev > > -- Niclas Hedhman, Software Developer http://www.qi4j.org - New Energy for Java I live here; http://tinyurl.com/3xugrbk I work here; http://tinyurl.com/24svnvk I relax here; http://tinyurl.com/2cgsug _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

