pjfanning commented on issue #879: URL: https://github.com/apache/poi/issues/879#issuecomment-3187439853
The temp file deletes happen when you call 'close' on the class that manages the file. TempFilePackagePart class closes the temp file in its close. So it looks like XSSFWorkbook close method may not be closing the package parts associated with the workbook. One observation: can't you write a job that deletes temp files that were created more than 24 hours ago? Or some number of hours that represents a safe number where you know that the creation of the workbook can't take that long. Even 1 hour should be safe enough but a middle ground like 3 or 6 hours might be safer. We hope to fix the temp file delete issue eventually but this might do as a workaround. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org