Reports with thousands of pages
-
- Posts: 53
- Joined: Thu Aug 21, 2008 9:28 pm
- Location: Peru
Reports with thousands of pages
Hello
I have reports accounting, some of them can reach 7000 pages. When the preview, the PC is note quite slow and Windows XP displays the message that the memory is running out (i have 1 GB RAM).
How handles stimulsoft memory? do when the preview all pages loaded to meroria RAM?
is there a way of paginacion?
Any idea to control this type of reports?
Thanks
I have reports accounting, some of them can reach 7000 pages. When the preview, the PC is note quite slow and Windows XP displays the message that the memory is running out (i have 1 GB RAM).
How handles stimulsoft memory? do when the preview all pages loaded to meroria RAM?
is there a way of paginacion?
Any idea to control this type of reports?
Thanks
Reports with thousands of pages
Hi, Milton.
Yes, there is a way on how such reports can be rendered.
In the 'Properties' window in the Designer please select 'Report' object and set ReportCacheMode in Auto.
If the Report.ReportCacheMode property has been set in "On", then property starts to cache rendered pages
to disk after the predefined number of the pages rendered.
The amount of the pages is defined in StiOptions.Engine.ReportCache.LimitForStartUsingCache property .
Path for the report cache may be specified in the following property:
StiOptions.Engine.ReportCache.CachePath
Thank you.
Yes, there is a way on how such reports can be rendered.
In the 'Properties' window in the Designer please select 'Report' object and set ReportCacheMode in Auto.
If the Report.ReportCacheMode property has been set in "On", then property starts to cache rendered pages
to disk after the predefined number of the pages rendered.
The amount of the pages is defined in StiOptions.Engine.ReportCache.LimitForStartUsingCache property .
Path for the report cache may be specified in the following property:
StiOptions.Engine.ReportCache.CachePath
Thank you.
-
- Posts: 53
- Joined: Thu Aug 21, 2008 9:28 pm
- Location: Peru
Reports with thousands of pages
Hello Edward
Thank you for your help. I have two questions:
1. - This functionality cache can be used with the old version with Engine V1?.. (i am using the version 2008.2 .275)
2. - The entire configuration can be done from the designer or has to be done from code.
Thank you
Milton
Thank you for your help. I have two questions:
1. - This functionality cache can be used with the old version with Engine V1?.. (i am using the version 2008.2 .275)
2. - The entire configuration can be done from the designer or has to be done from code.
Thank you
Milton
Reports with thousands of pages
Hello, Milton.
Thank you.
Yes, you can use this functionality in EngineV2 and in EngineV1. We added this functionality in 2007.1 version, so you can certainly use it in your version of the report engine.mguevara wrote:1. - This functionality cache can be used with the old version with Engine V1?.. (i am using the version 2008.2 .275)
These settings could be set in the BeginRender event of the report inside of the Designer. There is no need to change the code of the main application.2. - The entire configuration can be done from the designer or has to be done from code.
Thank you.
-
- Posts: 53
- Joined: Thu Aug 21, 2008 9:28 pm
- Location: Peru
Reports with thousands of pages
Hello Edward
I have activated the cache and run the report (7000 pages) i have seen that has created a folder whose content is 7000 separate files. This would be a not a problem with overhead on the directory entries of the Windows?.... or is it necessary to manually delete these files generated?
Milton
I have activated the cache and run the report (7000 pages) i have seen that has created a folder whose content is 7000 separate files. This would be a not a problem with overhead on the directory entries of the Windows?.... or is it necessary to manually delete these files generated?
Milton
Reports with thousands of pages
Hello,
Thank you.
This pages will be removed when report will be disposed. So you can call method Dispose of StiReport component.mguevara wrote: I have activated the cache and run the report (7000 pages) i have seen that has created a folder whose content is 7000 separate files. This would be a not a problem with overhead on the directory entries of the Windows?.... or is it necessary to manually delete these files generated?
Thank you.
-
- Posts: 53
- Joined: Thu Aug 21, 2008 9:28 pm
- Location: Peru
Reports with thousands of pages
Hello Vital
I have made the change suggested with the Dispose method, but the thousands of pages are not deleted. Please may indicate with some example how to resolve this issue.
i'am using version 2008.3.315.0
Thank you
Milton
I have made the change suggested with the Dispose method, but the thousands of pages are not deleted. Please may indicate with some example how to resolve this issue.
i'am using version 2008.3.315.0
Thank you
Milton
Reports with thousands of pages
Hi Milton,
Please take into consideration, that files only of the current session will be deleted. Files from previous rendering you had to delete 'by hand'. In case if rendering of the report has been terminated and report is not disposed, then you have to delete these files 'by hand' again.
Thank you.
Please take into consideration, that files only of the current session will be deleted. Files from previous rendering you had to delete 'by hand'. In case if rendering of the report has been terminated and report is not disposed, then you have to delete these files 'by hand' again.
Thank you.
-
- Posts: 53
- Joined: Thu Aug 21, 2008 9:28 pm
- Location: Peru
Reports with thousands of pages
I have the version 2008.3 .315 .0, i have configured the property "reportcachemode" with the value "on". Before running the report manually clean the disk cache, then when you run the report stimulsoft creates the files in the cache (7000 entries in the disk), but when you close the report does not delete the files from the cache.
Please have some example or indications but clear
This is urgent
Milton
Please have some example or indications but clear
This is urgent
Milton
Reports with thousands of pages
Hello Milton,
You need call Dispose method of report to clear page files.
Thank you.
You need call Dispose method of report to clear page files.
Thank you.