Out of Memory Issue[Serious Problem] ???

Stimulsoft Reports.NET discussion
Guest
Posts: 182
Joined: Tue Jun 06, 2006 8:04 am

Out of Memory Issue[Serious Problem] ???

Post by Guest »

Sorry, but we still working under this problem. This problem is too difficult. We inform you when solution will be available.

Thank you.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Out of Memory Issue[Serious Problem] ???

Post by Edward »

Could you convert your images into metafiles? In the most cases it helps to avoid issues with out of memory error.
The problem with rendering big amount of images of high resolution is lies inside the .Net. Each image grows up to 10 times in memory. Also there is "inside" cache of the .Net Framework which also can grow and not to be controlled.

If images couldn't be represented as metafiles or reduced the only solution is to render them separately. I mean to call rendering procedure more than one time. So first one image, than another and so on. Sorry, this issue cannot be fixed because we limited by the .Net in the field of rendering very big images.

Thank you.
jayakumargr
Posts: 85
Joined: Sat Jan 20, 2007 4:21 am

Out of Memory Issue[Serious Problem] ???

Post by jayakumargr »

Hello,
Thanks for your Reply.i test with another way.that is, directly we can preview the report instead of viewing preview from designer.In this way it works fine.But,while exporting that preview content into PDF it produce Out of memory Error.

i think the problem is in your coding part.you didn't release the memory,after rendering image.This is the reason for showing out of memory error.

So you can try to release the memory after rendering single image .This is my suggestion regarding this issue.

Regards,
Jayakumar

Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Out of Memory Issue[Serious Problem] ???

Post by Edward »

Sorry, we cannot release the memory automatically. We cannot do this because this work can be done only by the Garbage Collector of the framework. We do not know commands how to manage it.

Thank you.
EDV Gradl
Posts: 228
Joined: Sat Jun 17, 2006 9:50 am
Location: Germany

Out of Memory Issue[Serious Problem] ???

Post by EDV Gradl »

Can' use use Image.Dispose() ?

Or maybe GC.Finalise()?

I don't know your source, so that's just a guess.

Marco
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Out of Memory Issue[Serious Problem] ???

Post by Edward »

Sorry, but we cannot manage the Garbage Collector, because we only produce a component but managing of the GC should be done in the main Application. I suppose that your solution, Marco definitely helps in the situation which is described here, but we cannot call these commands from our code inside the Stimulsoft Reports.Net.

Thank you.
ptabkra
Posts: 27
Joined: Tue Oct 16, 2007 10:33 pm

Out of Memory Issue[Serious Problem] ???

Post by ptabkra »

Hi All,

Please advise if this issue had been solved? Because I encountered this:
No error message avalable, result code: E_OUTOFMEMORY(0x8007000E)
Thanks.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Out of Memory Issue[Serious Problem] ???

Post by Edward »

We've developed a new mode for caching of the images. This mode will be available in the next prerelease build as well as a describing on the using of this new feature.

Thank you.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Out of Memory Issue[Serious Problem] ???

Post by Edward »

In the build from Monday, February, 4th please set StiOptions.Engine.ImageCache property in true and try to render the report after that.

Thank you.
ptabkra
Posts: 27
Joined: Tue Oct 16, 2007 10:33 pm

Out of Memory Issue[Serious Problem] ???

Post by ptabkra »

Thanks. I will try to do that.

As for now what i did is create a new report again, retrieve columns first and then load the image.
I hope the new fix will be helpful.

Best regards*
Post Reply