lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (JIRA) <j...@apache.org>
Subject [jira] [Commented] (SOLR-2357) Thread Local memory leaks on restart
Date Mon, 18 Apr 2011 14:55:06 GMT

    [ https://issues.apache.org/jira/browse/SOLR-2357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13021055#comment-13021055
] 

Jan Høydahl commented on SOLR-2357:
-----------------------------------

I've seen this as well in this variant:
{code}
SEVERE: The web application [/solr] created a ThreadLocal with key of type [org.apache.solr.schema.DateField.ThreadLocalDateFormat]
(value [org.apache.solr.schema.DateField$ThreadLocalDateFormat@2b495510]) 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 application was stopped. Threads are going to be renewed
over time to try and avoid a probable memory leak. 
4-apr-2011 13:30:11 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
{code}
Seems to only happen with Dates?

> Thread Local memory leaks on restart
> ------------------------------------
>
>                 Key: SOLR-2357
>                 URL: https://issues.apache.org/jira/browse/SOLR-2357
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - Solr Cell (Tika extraction), search
>    Affects Versions: 1.4.1
>         Environment: Windows Server 2008, Apache Tomcat 7.0.8, Java 1.6.23
>            Reporter: Gus Heck
>              Labels: memory_leak, threadlocal
>
> Restarting solr (via a changed to a watched resource or via manager app for example)
after submitting documents with Solr-Cell, gives the following message (many many times),
and causes Tomcat to shutdown completely. 
> SEVERE: The web application [/solr] created a ThreadLocal with key of type [org.
> apache.solr.common.util.DateUtil.ThreadLocalDateFormat] (value [org.apache.solr.
> common.util.DateUtil$ThreadLocalDateFormat@dc30dfa]) and a value of type [java.t
> ext.SimpleDateFormat] (value [java.text.SimpleDateFormat@5af7aed5]) but failed t
> o remove it when the web application was stopped. Threads are going to be renewe
> d over time to try and avoid a probable memory leak.
> Feb 10, 2011 7:17:53 AM org.apache.catalina.loader.WebappClassLoader checkThread
> LocalMapForLeaks

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message