java.lang.OutOfMemoryError: Java heap space...........................I googled this Error and I found that there are two JVM options used to tune JVM heap size: -Xmx for maximum heap size, and -Xms for initial heap size.
But I am not getting where in Intelli j(like Eclipse) I can edit JVM settings.
Debug -> Debug Configuration -> Arguments -> VM Arguments
Thanks Haresh for your help.
But I am using Intellij and there I am finding Debug -> Debug Configuration and not Arguments where I can edit VM Arguements.
Is there any other alternative for the question?
But when I am doing
Run- Edit Configurations - Expand Grails - Grails:[projectname] - Grails tab
It is creating new Application in grails(unnamed) and I have to define Main class as well as Vm Parameters for it.
So, what should I define in main class?
And also, how I have to write -Xmx syntax in Vm Paramerters text box?