Hello,
we have some Reports with an activated ReportCacheMode Option -> ReportCacheMode=ON.
It seems like ReportCacheMode creates some directories and files but does not clean them up properly.
We have about 625.458 emtpy folders in the AppData of the user that hosts our service.
Can you please tell me how ReportCacheMode exactly works and why it isn't cleaning up the directories properly. (All directories are emtpy - no files in them).
BR
joro
ReportCacheMode
Re: ReportCacheMode
Hello,
Please clarify which version you are use?
Also please check that you dispose reports after design or show. We are uses standard .NET method dispose, but this method not always calls.
Thank you.
Please clarify which version you are use?
Also please check that you dispose reports after design or show. We are uses standard .NET method dispose, but this method not always calls.
Thank you.
Re: ReportCacheMode
Hello,
we are using 2013.2.1700.0. An update is not possible at the moment.
I think that we dispose the reports correctly otherwise we would experience memory leaks on our server leading to OutOfMemory exceptions. But memory consumption of our application is not very high.
What does ReportCacheMode do in detail?
Precompiling the mrt files? Parsing and transformation to DOM of the XML inside the mrt?
Could you please explain in detail what ReportCacheMode does?
BR
joro
we are using 2013.2.1700.0. An update is not possible at the moment.
I think that we dispose the reports correctly otherwise we would experience memory leaks on our server leading to OutOfMemory exceptions. But memory consumption of our application is not very high.
What does ReportCacheMode do in detail?
Precompiling the mrt files? Parsing and transformation to DOM of the XML inside the mrt?
Could you please explain in detail what ReportCacheMode does?
BR
joro
Re: ReportCacheMode
Hello Joro,
Report engine saves serialized version of each page (or block of pages in latest versions of engine) to this folder when cache mode is activated. So report engine can work with big reports without high memory consumption.
Usually when you call Dispose method of StiReport object report cache mode folder (one folder for one specified report) is removed. You can manually clear all files in this folder for example on start of your application or
files/folders which created some time ago.
Thank you.
Report engine saves serialized version of each page (or block of pages in latest versions of engine) to this folder when cache mode is activated. So report engine can work with big reports without high memory consumption.
Usually when you call Dispose method of StiReport object report cache mode folder (one folder for one specified report) is removed. You can manually clear all files in this folder for example on start of your application or
files/folders which created some time ago.
Thank you.