Research Log of Web Science Students

Computer Science is not simply programming

super bug: out of memory

leave a comment »

After finishing all of our game, we decided to finally merge it into 1 project.

We created a Main Class that will call all the 5 games. Also this class has the feature of choosing the color to be used for the controller. Colors available are Green, Red, Yellow and Blue.

Here is a screenshot of our Main Class. (no image yet. still under development)

But merging all our games wasn’t as easy as we thought it would be. We encountered a bug when moving from one game to another.

java.lang.OutOfMemoryError: java heap space

It seems that Java is running out of memory. It can’t handle all our game images. And in each game, we have atleast 10 images. When one game is seletected, it has no problem processing the images  but when another game is selected right after the previous game ended, OutOfMemoryError occurs.  As of the moment, we don’t know how to solve this problem because we certainly can’t remove some of our game images. 😦

Written by izelderamos

January 6, 2010 at 1:03 pm

Posted in EEG

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: