This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Integer.MAX_VALUE is the maximum size of an ArrayList. You are encountering an exhaustion of heap space (a failed alloc by the VM). You can simply give your VM more heap space using the -Xmx option when you start it up