I am using elasticsearch 1.5.1 and Java 7 with Spring Web application environment. In PROD, we got Out of Memory: Perm Gen error in Elasticsearch instance log file.
So based out of this, I understand class loading happens on Elasticsearch instance. I need to know how to control or fix class loading and unloading issue in Elasticsearch instance?
Our web application closes all clients properly through shutdown hook. But still tomcat provides an alert stating few of the un closed threads and Thread local reference. Through this I am just curios to know if this has anything with Elastic search Class loading capability.
Note: I performed various tests via Tomcat application, and found that Client close() parameter do not have any impact on Out of Memory : perm gen in Elasticsearch Cluster.
Please help.