Kotlin Build - java.lang.OutOfMemory


#1

Hi,

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.


#2

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:

``

-XX:PermSize=512m 


#3

Thanks Cedric.

As you said, PermSize was the issue.