[Solved] Loading many images and running out of memory when using NativeJpg

I don’t know for sure if this is your problem, but there is a huge design flaw with your current code. You are creating 1 thread per image. Assuming that you have hundreds or thousands of threads this design cannot scale. For a start there is a significant overhead associated with creating, starting and terminating … Read more