Yes, 16 images have 25 million pixels for each color channel, which is too large.
Damn. What would be the maximum amount of images I could use then?
I think 10 is the max at 1080p, assuming you remove the black bars. Like Harmy said, you can reduce the size of the original frames, before reading them in the tool.