Java Heap space error using ArrayList.

Printable View