Kotlin Build - java.lang.OutOfMemory


What is the minimum requirement to build kotlin ?  

I’m using JDK7-64bit (linux) with 4G heap size for Maven, but still getting OutOfMemoryException.  

Appreciate your hints and helps.

I saw the same thing but I noticed the problem was not the heap but the PermGen. Not sure if it's the case for you, but this fixed it for me:



Thanks Cedric.

As you said, PermSize was the issue.