Picturebox population
The program parses all images in a folder (~500+ images) and populates a picturebox for each image to display on the Panel interface using Panel.Control.Add (each image is 202x176, and the Panel supports vertical scrolling)
Program works fine, but my issue is RAM usage. With the numbers above, it can shoot up to 450k even after garbage collecting
Any ideas on how to improve RAM management while displaying all the images at once? I thought about rendering a segment of the images at a time, so like every time it scrolls down, the next segment renders and the previous segment unloads etc but I don't know if that's possible
Program works fine, but my issue is RAM usage. With the numbers above, it can shoot up to 450k even after garbage collecting

Any ideas on how to improve RAM management while displaying all the images at once? I thought about rendering a segment of the images at a time, so like every time it scrolls down, the next segment renders and the previous segment unloads etc but I don't know if that's possible


