I have been working on playing a video in Greenfoot by playing a gif and mp3 file, and have been using information from this thread to display my gif.
Older Topic
The problem is that I run into a java heap space error when I try to play the gif.
"java.lang.OutOfMemoryError: Java heap space"
I'm fairly new to java and coding and I am trying to see if I can fix this. By going into the GifImage class and decreasing numFrames to 30, I don't get an error and can play the first 30 frames of my gif.
Any thoughts?

