New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improve threaklocal to avoid a probable memory leak #2308
Comments
do you still see this with elasticsearch 0.90? If so, do you also see this leak with the above classes? |
org.elasticsearch.index.mapper.core.StringFieldMapper$1 org.elasticsearch.index.mapper.internal.UidFieldMapper$1 org.elasticsearch.index.mapper.core.NumberFieldMapper$2 org.elasticsearch.common.util.concurrent.jsr166y.ThreadLocalRandom$1 org.elasticsearch.common.util.concurrent.jsr166e.Striped64.ThreadHashCode |
Is this related to #283? |
yes 2014-07-09 1:13 GMT+08:00 Clinton Gormley notifications@github.com:
|
Closing in favour of #283 |
Threads are going to be renewed over time to try and avoid a probable memory leak |
when I run elasticsearch in tomcat7 using embedded mode,tomcat print lots of warning log
please clear threadlocal as possible as eleasticsearch can do
十月 08, 2012 9:58:59 上午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [] created a ThreadLocal with key of type [org.elasticsearch.index.mapper.core.NumberFieldMapper$1](value [org.elasticsearch.index.mapper.core.NumberFieldMapper$1@61b6dd]) and a value of type [org.apache.lucene.analysis.NumericTokenStream](value [%28numeric,valSize=64,precisionStep=4%29]) 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.
十月 08, 2012 9:58:59 上午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [] created a ThreadLocal with key of type [org.elasticsearch.index.mapper.DocumentMapper$1](value [org.elasticsearch.index.mapper.DocumentMapper$1@a15735]) and a value of type [org.elasticsearch.index.mapper.ParseContext](value [org.elasticsearch.index.mapper.ParseContext@df48c4]) 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.
十月 08, 2012 9:58:59 上午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [] created a ThreadLocal with key of type [org.elasticsearch.index.mapper.core.NumberFieldMapper$1](value [org.elasticsearch.index.mapper.core.NumberFieldMapper$1@1ecbf74]) and a value of type [org.apache.lucene.analysis.NumericTokenStream](value [%28numeric,valSize=64,precisionStep=4%29]) 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.
十月 08, 2012 9:58:59 上午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [] created a ThreadLocal with key of type [org.elasticsearch.index.mapper.core.NumberFieldMapper$1](value [org.elasticsearch.index.mapper.core.NumberFieldMapper$1@1bb2525]) and a value of type [org.apache.lucene.analysis.NumericTokenStream](value [%28numeric,valSize=64,precisionStep=4%29]) 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.
十月 08, 2012 9:58:59 上午 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
SEVERE: The web application [] created a ThreadLocal with key of type [org.elasticsearch.index.mapper.core.NumberFieldMapper$1](value [org.elasticsearch.index.mapper.core.NumberFieldMapper$1@d89df]) and a value of type [org.apache.lucene.analysis.NumericTokenStream](value [%28numeric,valSize=64,precisionStep=4%29]) 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.
The text was updated successfully, but these errors were encountered: