Community
Participate
Working Groups
Build Identifier: Version: 2.6.2.r262_v20101008-7m9f7bFS5-OfHSjPqH_1t2 Build id: v20110214-1523 When a report retrieves a huge amount of data, more than 10MB - default value of DataEngine.MEMORY_BUFFER_SIZE, files are created in the temporary system folder to cache the data while report generation is in progress. But once the report is generated, these files are not being deleted. They are only deleted when the ReportEngine is shutdown or in our case web-server shutdown/restart. The DiskDataSetCacheObject class is creating the DataEngine folder to hold the DataSetCacheObject. Because of the complexity of the report, the data.data file created is huge. These files are present till the webserver is rebooted. We have a long running server and hence reboots aren't common and the system temporary folder doesn't get cleaned up. The /tmp space is getting filled up and over the last 6 months, all the space allocated has been used up creating problems on the server. Is there a way to clean up the files once the report is generated? Or is this as designed? If it is as designed, then would need this to be taken up as an enhancement. Reproducible: Always Steps to Reproduce: 1. Run a report which has a lot of data and observe the cached files being created in the system temporary folder. 2. 3.
The issue is also seen on BIRT 2.3.2 as well.
Mark as fixed. see commit 684b3f85f5d546a42d5d88b10e206527b8ef67dd.
After a report document (~10MB) is generated, the cache files (DataSetCacheObject folder) no longer shown in the system temporary folder. Verified in BIRT 4.4.1 build v20140916-1320.