Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029994Openbravo ERPA. Platformpublic2015-03-17 15:162015-05-29 08:39
shuehner 
caristu 
urgentmajorhave not tried
closedduplicate 
5
 
3.0PR15Q3 
caristu
Core
No
0029994: pdf tmp-files creating during renderJR & stored in attach.path are never deleted
During renderJR the output file created (i.e. pdf) is saved into attach.path/<jrxml-filename>.jrxml-UUID.extension
Code in question is HttpSecureAppServlet.java method saveReport.

Then later it is offered for download to the browser.

However:
a.) Those tmp files are never deleted and the space used can grow a lot over size (seen up to 11GB in practice in quite short time)
b.) attach.path is not really best location for tmp files
-
- Delete those files after usage (i.e. check new code of process param report project)
- Maybe mark files as to be auto-deleted. But careful unclear if feasible see notes about mem usage problem with high number of items marked as auto-delete + infrequent tomcat restarts
No tags attached.
duplicate of defect 00293183.0PR15Q3 closed caristu pdf tmp-files creating during renderJR & stored in attach.path are never deleted 
Issue History
2015-05-25 12:42caristuTypedefect => backport
2015-05-29 08:38caristuTypebackport => defect
2015-05-29 08:39caristuReview Assigned To => caristu
2015-05-29 08:39caristuRelationship replacedduplicate of 0029318
2015-05-29 08:39caristuStatusscheduled => closed
2015-05-29 08:39caristuResolutionopen => duplicate

There are no notes attached to this issue.