Re: Q: Why PictureBox takes SO MUCH memory ??
- From: "Bob Powell [MVP]" <bob@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 18 Jan 2007 14:04:11 +0100
See my reply in the drawing forum and please don't post to multiple groups.
--
Bob Powell [MVP]
Visual C#, System.Drawing
Ramuseco Limited .NET consulting
http://www.ramuseco.com
Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
Kristijan Marin wrote:
Hi,.
I have a problem with memory when trying to load more pictures .....
So what I do is , I load images into PictureBox and keep them there for further processing ..... so user can see, select, add etc ....
For testing I'm loading 1.3MB tiff's ...
Now the problem occurs when I try to load more pictures (all pictures are the same ones)... because each and every picture
takes cca. 33MB in memory ..... now I should be able to load at least 40-50 images at onec ..... so this makes cca. 1.5GB of memory ... and ofcourse i get Out Of Memory .....
Is there any way to reduce this memory ?
I already tried to reduce quality of images, but this conversion takes too much time for all this images .....
Any help is appreciated.
Thx,
Kris
- References:
- Q: Why PictureBox takes SO MUCH memory ??
- From: Kristijan Marin
- Q: Why PictureBox takes SO MUCH memory ??
- Prev by Date: How can I tell when a control is fully created
- Next by Date: Re: Charts Control
- Previous by thread: Q: Why PictureBox takes SO MUCH memory ??
- Next by thread: How can I tell when a control is fully created
- Index(es):
Relevant Pages
|