[
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-314?pag...
]
Sanne Grinovero commented on HSEARCH-314:
-----------------------------------------
the ThreadLocal has been moved to org.hibernate.search.event.ContextHolder (not to fix
this, for other reasons).
I think that avoiding to use the registration of eventlisteners during configuration but
using the automatic registration should be a workaround: in this case the ThreadLocal is
never used.
ThreadLocal in ContextHolder causes memory leak when deployed in a
web container
--------------------------------------------------------------------------------
Key: HSEARCH-314
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-314
Project: Hibernate Search
Issue Type: Bug
Components: engine
Affects Versions: 3.1.0.CR1
Environment: Hibernate 3.3.1.GA Tomcat 6.0.18 Spring 2.5.6 Java OpenJDK 1.6
Reporter: François Terrier
The SearchFactory has a static ThreadLocal variables which holds a reference to the
SearchFactoryImpl. The ThreadLocal is not cleared when the application is undeployed,
causing a memory leak.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira