You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robin Grindrod (JIRA)" <ji...@apache.org> on 2014/07/30 18:54:38 UTC

[jira] [Created] (SOLR-6303) JDBC drivers not being released causing permgen memory leak

Robin Grindrod created SOLR-6303:
------------------------------------

             Summary: JDBC drivers not being released causing permgen memory leak 
                 Key: SOLR-6303
                 URL: https://issues.apache.org/jira/browse/SOLR-6303
             Project: Solr
          Issue Type: Bug
    Affects Versions: 4.9
         Environment: Debian 7
OpenJDK Runtime Environment (IcedTea 2.5.1) (7u65-2.5.1-2~deb7u1)
Apache Tomcat 7.0.28
Solr 4.9.0
            Reporter: Robin Grindrod


I have an issue where after reloading Solr a few times Tomcat runs out of permgen space. After a little bit of investigation it seems that if I reload Solr without running the DataImportHandler and then perform garbage collection the amount of used permgen memory seems to return to roughly where it was before. However, if I run the DataImportHandler and then reload, the amount of memory will not return to where it was before. If this is repeated a few times it will eventually cause Tomcat to hang and throw a "java.lang.OutOfMemoryError: PermGen space" error.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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