Out of Memory Exception

Stimulsoft Ultimate discussion
shan
Posts: 51
Joined: Mon Nov 05, 2012 10:16 am

Re: Out of Memory Exception

Post by shan »

Hi,
What is the difference between ReportCacheMode = On and ReportCacheMode = Auto ?
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Out of Memory Exception

Post by HighAley »

Hello.

There is a StiOptions.Engine.ReportCache.LimitForStartUsingCache option which is equal 200 by default.
If the page count less then it, the ReportCacheMode is off. Otherwise the ReportCacheMode is on.

Thank you.
shan
Posts: 51
Joined: Mon Nov 05, 2012 10:16 am

Re: Out of Memory Exception

Post by shan »

using System.IO;
...
if(File.Exists(AttachmentPath)){...}

KIndly look into the above code as tpontow said.... it is shows error Error of Compilation. So kindly tell me how to use the keyword using in the event image component before print event.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Out of Memory Exception

Post by HighAley »

Hello.

Sorry, maybe we did not exactly understand your question. Could you explain your issue in more details?

Thank you.
shan
Posts: 51
Joined: Mon Nov 05, 2012 10:16 am

Re: Out of Memory Exception

Post by shan »

Hi,

No pblm...i got the solution how to use that option....

Now i attached one .ich image format from StimulsoftImageCache folder for your review. While stimulsoft rendering process so many images are get created in StimulsoftImageCache folder but some images not get previewed in paint or any other software.
Due to these image formats only the Error Parameter is not valid arises. So kindly analyse that attached then suggest me.

Also note that i have to give the solution in version 2009.2.500.0 and also in latest, so kindly tell me whether it is possible or not in older versions.

StiOptions.Engine.ReportCache.AmountOfQuickAccessPages = 5;
StiOptions.Engine.ReportCache.AmountOfProcessedPagesForStartGCCollect = 1;


Because the above code works only in latest version, i need your guidance in this scenario. if u need any detail let me know.

Thank You !
Attachments
798bf8289bd84e62a821ac2a5934bde0.rar
(339.02 KiB) Downloaded 247 times
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Out of Memory Exception

Post by HighAley »

Hello.

Please, send us any sample to reproduce the issue.
Could you try the latest build that available on our site?

Thank you.
Post Reply