- Environment : Tomcat 8 Windows 10
- Symptom : java.lang.OutOfMemoryError: Java heap space when submit grid edit or array g_f02..g_fn
- Solution : Change initial memory pool & maximum memory pool
After searching for solutions on the internet, many suggest arranging memory through catalina.bat or setenv.bat like Morten's suggestion. but Tomcat on windows cannot recognize the environment.
The solution you just need to run Tomcat8w.exe at %TOMCAT_HOME%bin, and configure the memory via the GUI and then restart Tomcat.