Loading large amount of image files

If Java can’t allocate that much RAM don’t load everything at once!

Instead collect all paths via listPaths(), then loadImage() + resize() + save() 1 by 1 inside a loop:

3 Likes