Community
Participate
Working Groups
Build Identifier: I am using the BIRT runtime 2.6.2 to run a larger report, which results in diskcaching being used. I can see folders with names like "DataEngine_9307751_2" in the temporary directory while running. Usually theses folders get cleaned up, when the report is finished but this seems not to be the case if an Exception occurs. (Actually I got an IOException because I ran out of free tempspace.) Under these circumstances the files are left on disk, they are even neither deleted on platform shutdown nor on JVM shutdown. However there is some improvement already, as I could not delete the files myself while the JVM is running in 2.6.1 Reproducible: Always
Could you please give the full path of these temp folders? Are there temp files in these temp folders?
Created attachment 191820 [details] list of created files
Created attachment 191821 [details] list of left files Usually these files get created in the systems default temporary directory. I attached a complete list of created files during a successful report run. To be able to reproduce the error I created a directory on a small ramdisk, which i set via EngineConfig.setTempDir as temporary directory. The left files after the error are listed in the second attached file. Of course this list would include more files, if I had made the ramdisk larger. (Additionally I’ve just noticed, that the files named “BasicDiskList*” are still created in the systems default directory, but that would be another problem as these are always deleted)
he cause of this issue is that some output streams have not been closed when an IOException occurs. Fix this issue.