Page 1 of 1
Report Cache-Files won't delete
Posted: Wed May 13, 2015 12:12 pm
by rksaskia
Hello,
we have a report with many thousand pages.
We print the report with Report Cache Mode = on.
In the appdata dir create the report engine a folder StimulsoftReportCache and a sub-folder for every print job. Here are many, many *.mch files.
This folder will not be deleted!
Can I enforce it?
Thanks
Re: Report Cache-Files won't delete
Posted: Thu May 14, 2015 8:29 am
by HighAley
Hello.
The .Net Framework have very strange behavior. Sometimes it does not call destructor at all.
So to remove report cache files you should call report.Dispose() method. Or use next structure:
Code: Select all
using (StiReport report = new StiReport())
{
.....
}
Thank you.
Re: Report Cache-Files won't delete
Posted: Thu Nov 02, 2023 9:11 pm
by ddsmith99301
I realize this is an old post, but I am having this same problem - the build up of the .mch files. I have tried several things to purge the files, but not successful. I just tried report.Dispose. This probably does free up memory that is used, but doesn't delete the cached .mch files. I need to have those files purged. Any help will be appreciated.
Re: Report Cache-Files won't delete
Posted: Sat Nov 04, 2023 1:24 am
by Lech Kulikowski
Hello,
Please clarify what product and version are you use?
Thank you.
Re: Report Cache-Files won't delete
Posted: Thu Dec 21, 2023 9:00 pm
by ddsmith99301
Stimulsoft Ultimate 2019.3.1
Re: Report Cache-Files won't delete
Posted: Thu Dec 21, 2023 10:54 pm
by Lech Kulikowski
Hello,
We couldn't reproduce the issue.
Please check the last release build.
Thank you.