Application now processes bigger amount of images in batches, so not all of them are stored in the memory, but extracted on harddrive.