You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Lokesh Puri <lp...@sapient.com> on 2012/07/12 12:30:57 UTC

SXSSF Temporary File Deletion

I have created sample code using
http://poi.apache.org/spreadsheet/how-to.html#sxssf and it works fine, but
what I noticed while runing the code, the flushing of file happens and it
writes a xml temp file at C:\Documents and Settings\<username>\Local
Settings\Temp location which is quite huge in size and remains there even
after the final file is generated. Is there a way we can specify the
location where these files should be created and also how can we delete
these files after usage. Do we have any method in API that helps us in these
2 cases. I intend to change my XSSF app to SXSSF and deploy on Unix machine,
so these 2 issues can be show stopper

--
View this message in context: http://apache-poi.1045710.n5.nabble.com/SXSSF-Temporary-File-Deletion-tp5710442.html
Sent from the POI - User mailing list archive at Nabble.com.

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


Re: SXSSF Temporary File Deletion

Posted by Nick Burch <ni...@alfresco.com>.
On Thu, 12 Jul 2012, Lokesh Puri wrote:
> I have created sample code using
> http://poi.apache.org/spreadsheet/how-to.html#sxssf and it works fine, but
> what I noticed while runing the code, the flushing of file happens and it
> writes a xml temp file at C:\Documents and Settings\<username>\Local
> Settings\Temp location which is quite huge in size and remains there even
> after the final file is generated.

There's an open issue around this:
https://issues.apache.org/bugzilla/show_bug.cgi?id=53493

Nick

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