poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Banerjee, Tapas" <Tapas.Baner...@fmr.com>
Subject RE: Help! - SXSSF APi writing files under /tmp - not cleaning them.
Date Fri, 26 Sep 2014 13:47:15 GMT
We already called dispose.

We kind of bypass the disk space issue by increasing window size as well as calling workbook.setCompressTempFiles(true);


-----Original Message-----
From: Kish, Robert [mailto:Robert.Kish@ncogroup.com] 
Sent: Thursday, September 25, 2014 2:10 PM
To: POI Developers List
Subject: RE: Help! - SXSSF APi writing files under /tmp - not cleaning them.

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:Tapas.Banerjee@fmr.com] 
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:apache@gagravarr.org]
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: dev-unsubscribe@poi.apache.org For additional
commands, e-mail: dev-help@poi.apache.org


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


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


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


Mime
View raw message