SyntaxFix
Write A Post
Hire A Developer
Questions
Try adding -Xmx for more memory ( java -Xmx1024M YourClass ), and don't forget to stop referencing variables you don't need any more (memory leaks).
java -Xmx1024M YourClass