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
Report Cache-Files won't delete
Report Cache-Files won't delete
- Attachments
-
- cachefiles.png (53.97 KiB) Viewed 10846 times
Re: Report Cache-Files won't delete
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:
Thank you.
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())
{
.....
}
-
- Posts: 52
- Joined: Wed May 17, 2017 10:14 pm
Re: Report Cache-Files won't delete
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.
-
- Posts: 6323
- Joined: Tue Mar 20, 2018 5:34 am
Re: Report Cache-Files won't delete
Hello,
Please clarify what product and version are you use?
Thank you.
Please clarify what product and version are you use?
Thank you.
-
- Posts: 52
- Joined: Wed May 17, 2017 10:14 pm
Re: Report Cache-Files won't delete
Stimulsoft Ultimate 2019.3.1
-
- Posts: 6323
- Joined: Tue Mar 20, 2018 5:34 am
Re: Report Cache-Files won't delete
Hello,
We couldn't reproduce the issue.
Please check the last release build.
Thank you.
We couldn't reproduce the issue.
Please check the last release build.
Thank you.