java.lang.OutOfMemoryError: Java heap space — with intelliJ

I tried tons of things but i can't fix it.

I made a topic on stackoverflow since there is more intelliJ audience there. I know there are some intelliJ users on the board, if one of you know the answer of how to get rid of the OutOfMemory problem then please let me know. http://stackoverflow.com/questions/23270354/java-lang-outofmemoryerror-java-heap-space-with-intellij

Answers

  • Answer ✓

    You need to change the vm options in the configuration that you use when you run the application. Go to the menu > Run > Edit Configurations. Then go to the configuration that you use in this project. Then go to the configuration tab. The second field is the vm options, there you can add your -xmx -xms commands. That's how I did it and I run with 16 GB of memory available to the sketch.

  • nice! :) thanks :) Runs like a champ :)

Sign In or Register to comment.