Memory leak using the SocksSocketImpl completion method

We have OutOfMemory in one of our web applications. This application runs on Tomcat on the Aamzon EC2 for load balancing. From a heap dump, most of the memory was consumed by SocksSocketImpl objects. The screen shows that 99% of these objects are in a state of pending completion. However, somehow they are NOT being finalized by GC'ed either. The same application with the same configuration (same tomcat version and JDK version) in other regions and has no problems.

Has anyone seen this behavior before? Any pointers would be helpful. Thank you for your time.

+4
source share
3 answers

Tomcat 6.0.39, , JDK Ubuntu :

java version "1.6.0_30"
OpenJDK Runtime Environment (IcedTea6 1.13.1) (6b30-1.13.1-1ubuntu2~0.12.04.1)
OpenJDK Server VM (build 23.25-b01, mixed mode)

Eclipse Memory Analyzer, SSL- Hibernate, . :

java version "1.7.0_51"
OpenJDK Runtime Environment (IcedTea 2.4.4) (7u51-2.4.4-0ubuntu0.12.04.2)
OpenJDK Server VM (build 24.45-b08, mixed mode)
+2

JVM 1.7.0_51. , JVM , GC. 1.6.0_30 OpenJDK.

0

Source: https://habr.com/ru/post/1526465/


All Articles