JDK-6661861 : Decrease memory use of Inflaters by ZipFile
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util.jar
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2008-02-12
  • Updated: 2011-05-18
  • Resolved: 2011-05-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7 b36Fixed
Related Reports
Relates :  
Description
ZipFile retains instances of Inflater for longer than is necessary, each of which consumes a fair amount of memory.  See description for 6595845.  Part of that fix is to decrease the memory used by ZipFile in retaining instances of Inflater which are no longer used.

Comments
EVALUATION In ZipFile.java, Inflater.reset() is invoked when get Inflater is called. This unnecessarily delays release of resources held by Inflater instances, which could be released in ZipFile.releaseInflater().
12-02-2008