Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
Application run with -XX:+DoEscapeAnalysis grows up to machine memory and crashes after 46 hours. Examining core file shows that there are many instances of java.util.zip.* classes. It appears that java.util.zip.ZipFile and/or java.util.zip.ZipFile$ZipFileInputStream are never closed and occupy Java heap and native memory. Running same application without -XX:+DoEscapeAnalysis does not reproduce this problem. Object Histogram: num #instances #bytes Class description -------------------------------------------------------------------------- 1: 2273889 724202304 byte[] 2: 220925 227457368 char[] 3: 755258 36252384 java.util.zip.ZipFile$1 4: 755258 36252384 java.util.zip.ZipFile$ZipFileInputStream 5: 773194 18556656 java.util.HashMap$Entry
|