The performance of grails app is terribly slow. It needs at least 5-7 seconds to load a page. Sometimes will prompt me OutOfMemory and then server error 500 for every page.
The terribly slow performance seriously affects my work and I am unable to test and develop the project in an acceptable time. I have to deal with this problem first.
I tried to:
- Config the settings in idea64.exe.vmoptions and idea.exe.vmoptions like the settings in development handbook.
- Config the settings of Java in Java Control Panel that I added a Runtime Parameters –Xms-4096m.
- Config the settings of
%GRAILS_HOME%\bin\startGrails.bat, GRAILS_OPTS
.
However, this situation is not improveing.
I am using Win7-64 bit, 8GB Ram, Intellij 13.0.2
to develop.
Please help. Thank you very much!!