WinForms/C#: Implementing long scrollable list of images blows up memory
<p>I try to load jpg-images as a long list of picture boxes into a table layout panel. The list of the images should be scrollable smoothly, i.e. without flickering or visible blurring or dithering. There are around 300 images, each with a size of around 150kb (600px x 850px).</p>

<p>The problem is that when loading the images into the panel, the memory (RAM) is much more blown up that it should be (considered the size of the images files). If the list is loaded, around 500Mb are blocked in memory, but the images should need around 300 x 150kb = 45MB. </p>

<p>It does not matter if I load the image into the picturebox directly or as MemoryStream: The result concerning the memory load is the same.</p>

<p>So, something is blowing up my memory-load, to an extent of more than 10 times as much as the image files would need.</p>

<p>The question is: How can I get the memory load under around 100Mb without changing image quality or image size. Does anyone have a good idea?</p>

<p>Thank you very much in advance</p>

<p>rockie</p>
