Native memory leak problem in the Java 2 SDK of V3.5.4.2 and earlier versions

Technote (FAQ)
Problem
The java.util.zip.GZIPOutputStream class uses java.util.zip.DeflaterOutputStream class. Both of these classes are a part of the standard Java™ 2 SDK. The DeflaterOutputStream has a defect which can cause a native memory leak in a WebSphere Application Server JVM. If your application uses the GZIPOutputStream class, it is possible that over time, the JVM may experience memory related problems.
Cause
The DeflaterOutputStream has a defect which can cause a native memory leak in a WebSphere Application Server JVM.
Solution
Inspect your application code and verify whether or not the GZIPOutputStream class is used by your application. Sometimes, a verbosegc output of the JVM can also have information on whether or not GZIPOutputStream is being used by that JVM. If it is used, you need to apply a patch for the DeflaterOutputStream memory leak. Contact IBM support to get a copy of this patch.











Document Information

Product categories: Software, Application Servers, Distributed Application & Web Servers, WebSphere Application Server, Java SDK
Operating system(s): AIX, HPUX, Linux, Multi-Platform, Solaris, Windows
Software version: 3.5, 3.5.1, 3.5.2, 3.5.3, 3.5.4, 3.5.4.1, 3.5.4.2
Software edition: Advanced, Standard
Reference #: 1054344
IBM Group: Software Group
Modified date: 2004-06-17