You have to call the dispose method. https://poi.apache.org/apidocs/org/apache/poi/xssf/streaming/SXSSFWorkbo ok.html#dispose%28%29
-----Original Message----- From: Banerjee, Tapas [mailto:[email protected]] Sent: Thursday, September 25, 2014 01:00 PM To: POI Developers List Subject: RE: Help! - SXSSF APi writing files under /tmp - not cleaning them. Just to add on this. Below is a sample XML files are written into /tmp -rw-r--r-- 1 xxxx xxxx 3046 Sep 25 12:40 poi-sxssf-sheet8160933773697041289.xml For large export - the bigger xml files are created, and they don't clean up automatically, causing the disk to be full. -----Original Message----- From: Nick Burch [mailto:[email protected]] Sent: Thursday, September 25, 2014 12:32 PM To: POI Developers List Subject: Re: Help! - SXSSF APi writing files under /tmp - not cleaning them. On Thu, 25 Sep 2014, Banerjee, Tapas wrote: > The problem we are facing that API writing into /tmp > javasharedresources (for Websphere App server under Linux) dir - not > cleaning it, making /tmp file system full after couple of large export to excel. Did you make sure you're using the latest version of Apache POI? Nick --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
