poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56609] Resource leak in WorkbookFactory.create()
Date Wed, 02 Jul 2014 18:03:00 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=56609

--- Comment #3 from Dzmitry Lazerka <dlazerka@gmail.com> ---
Thanks for the JavaDoc.
Nick Burch, the files are not cleaned up during garbage collection, because
they are not Java objects -- these are lower level system resources (unix file
handles). Once a process goes over the limit of open file handles, OS prevents
it from opening new ones. For JVM that means crash. We found out that on
production :)
That's why I was advocating removing the method at all -- because it crashes
the whole system, not only POI-related features.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message