Out of Memory Issue[Serious Problem] ???
-
- Posts: 85
- Joined: Sat Jan 20, 2007 4:21 am
Out of Memory Issue[Serious Problem] ???
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
Out of Memory Issue[Serious Problem] ???
Hello,
May be you can create small sample project which reproduce this problem?
Thank you.
I don't see any problem in this line of code.Image1.File=Family.Image_file;
May be you can create small sample project which reproduce this problem?
Thank you.
-
- Posts: 85
- Joined: Sat Jan 20, 2007 4:21 am
Out of Memory Issue[Serious Problem] ???
Hi Vital,
thanks for your rply. i found there is a problem in your StiImage.cs file.
following line throws an outofmemory exception.
this.ImageToDraw=Image.FromFile(File);
please check this link,
http://msdn2.microsoft.com/en-us/library/stf701f5.aspx
Regards,
Jayakumar
thanks for your rply. i found there is a problem in your StiImage.cs file.
following line throws an outofmemory exception.
this.ImageToDraw=Image.FromFile(File);
please check this link,
http://msdn2.microsoft.com/en-us/library/stf701f5.aspx
Regards,
Jayakumar
Out of Memory Issue[Serious Problem] ???
Thank you very much for the hint.
Please send your image file to
for analysis.
Thank you.
Please send your image file to

Thank you.
Out of Memory Issue[Serious Problem] ???
Should the problem not be clear from the MSDN page?
Marco
Seems to me an incopatibel file format for gdi+.OutOfMemoryException
The file does not have a valid image format.
-or-
GDI+ does not support the pixel format of the file.
Marco
-
- Posts: 85
- Joined: Sat Jan 20, 2007 4:21 am
Out of Memory Issue[Serious Problem] ???
Hello,
If the Dimension of the jpeg file is 5000x3000 or more then the Out of memory will occur.i have 1227 images with the dimensions around 5512x3249.while rendering it produces the out of memory error.
But i convert those jpeg files to gif(Dimension same) the error doesn't appear.
i couldn't realize what's the reson. i can't send my images to your support team.Because those images are confidential. please try with around 1000 images with more than 5000x3000 dimension and See the Out of memroy Error.
This error may occur while rendering or Exporting document to PDF.
How to Solve this Issue???
Regards,
Jayakumar
If the Dimension of the jpeg file is 5000x3000 or more then the Out of memory will occur.i have 1227 images with the dimensions around 5512x3249.while rendering it produces the out of memory error.
But i convert those jpeg files to gif(Dimension same) the error doesn't appear.
i couldn't realize what's the reson. i can't send my images to your support team.Because those images are confidential. please try with around 1000 images with more than 5000x3000 dimension and See the Out of memroy Error.
This error may occur while rendering or Exporting document to PDF.
How to Solve this Issue???
Regards,
Jayakumar
Out of Memory Issue[Serious Problem] ???
Please inform us about amount of the physical memory installed in your computer and the size of the page file in Windows. Maybe increasing of the page file can help you to resolve the issue. If not please send a test application to support[at]stimulsoft.com for analysis.
Thank you.
Thank you.
-
- Posts: 85
- Joined: Sat Jan 20, 2007 4:21 am
Out of Memory Issue[Serious Problem] ???
Hello,
Phisical Memory Size - 2 GB RAM
Page File Size
Minimum Size-8000 MB
Maximum Size-16000 MB
Still the problem not Solved...
Regards,
Jayakumar
Phisical Memory Size - 2 GB RAM
Page File Size
Minimum Size-8000 MB
Maximum Size-16000 MB
Still the problem not Solved...
Regards,
Jayakumar
Out of Memory Issue[Serious Problem] ???
We've reproduced the issue with too big images. It is very difficult bug to be fixed. We will inform you about our progress.
Thank you for your efforts.
Thank you for your efforts.
-
- Posts: 85
- Joined: Sat Jan 20, 2007 4:21 am
Out of Memory Issue[Serious Problem] ???
Hello,
ok. i am waiting for your reply with proper solution.
Thanks in advance,
Jayakumar:biggrin:
ok. i am waiting for your reply with proper solution.
Thanks in advance,
Jayakumar:biggrin: