Hey guys,
I wanted to make a project which includes a video.
As it isn't possible to just say "play video" I decided to write an algorithm which is loading every frame of the video and will change the picture every frame.
As it isn't possible to load 60 different (800x600px) images in a second I decided to load all the images in a list before the world loads.
But everytime a Video is above 200 frames it gives me the error
java.lang.OutOfMemoryError: Java heap space
Evenwhile all images together are just 6 fucking megabyte big.
So is there a way to increase the heap space? (The script which loads the images works fine)

