Added check for memory settings, given to IntelliJ IDEA. Now it's recommended to use IDEA Scala plugin with 2G heap and 2m stack size.