Am Dienstag, den 06.09.2011, 11:19 +0200 schrieb Torsten Krah: > lsof -f -p 2414 | grep deleted | wc -l > 347
For documentation purposes for anyone who uses 0.9 and got this problem:
The ZipContainerDetector does not call close on the created ZipFile
instance (at least in 0.9).
This may lead to a RandomAccessFile FileDescriptor leak if the ZIP
detection was not successful in the commons-compress code itself - close
will force the descriptor to be closed there.
I did test with my own ZipDetector which does:
Zipfile zip = null;
try {
zipFile = ...
} finally {
ZipFile.closeQuietly(zip);
}
and no more leaks yet. Looking at the trunk it seems that already
upstream but not in 0.9.x yet - maybe 1.0 will got this fix, we'll see.
smime.p7s
Description: S/MIME cryptographic signature
