Out of Memory Issue[Serious Problem] ???
Posted: Mon Oct 01, 2007 11:31 pm
Hi Pavel,
Again i face Out of memory issue while rendering report.
In my database,i create one table called Family table.it consist two columns. one is family_id and Image_file column.
i use sql connection for getting data. that is,
select * from Family
this query returns all the data's available in database(more than 1200 rows).
Next, i will drag & drop databand and put image box in that and wrote following in before print event.
Image1.File=Family.Image_file;
i set aspect ratio and stretch properties for image box.
after rendering 60 pages it produce an Out of memory error.
we have a stireport 2007.2 source code. while i debug that code,i found there is a problem in your StiImage.cs file.
for getting images you use,
this.ImageToDraw=Image.FromFile(File);
this statement throws an exception after rendering 60 pages.
i check all the images(jpeg) which are available in my local machine.there is no problem in it. and also i tried
ReportCacheMode is ON. but i couldn't solve this error.
How to solve this error ???
Regards,
Jayakumar
Again i face Out of memory issue while rendering report.
In my database,i create one table called Family table.it consist two columns. one is family_id and Image_file column.
i use sql connection for getting data. that is,
select * from Family
this query returns all the data's available in database(more than 1200 rows).
Next, i will drag & drop databand and put image box in that and wrote following in before print event.
Image1.File=Family.Image_file;
i set aspect ratio and stretch properties for image box.
after rendering 60 pages it produce an Out of memory error.
we have a stireport 2007.2 source code. while i debug that code,i found there is a problem in your StiImage.cs file.
for getting images you use,
this.ImageToDraw=Image.FromFile(File);
this statement throws an exception after rendering 60 pages.
i check all the images(jpeg) which are available in my local machine.there is no problem in it. and also i tried
ReportCacheMode is ON. but i couldn't solve this error.
How to solve this error ???
Regards,
Jayakumar