Hello, This email concerns an error I encountered while using Oracle Apex with ORDS 3.0.9 and Tomcat 9. Specifically, I receive a "Java heap space" error when accessing the application.
To troubleshoot the issue, I have tried to increase the maximum heap size of the JVM using the -Xmx option in the CATALINA_OPTS environment variable. I set this environment variable in the catalina.bat file and restarted the Tomcat service, but the error persisted. I have also confirmed that the CATALINA_OPTS environment variable is set correctly by running echo %CATALINA_OPTS% in the command prompt. I should note that I have two versions of Tomcat installed on the system - 8.5 and 9. Everything works fine on Tomcat 8.5, but the "Java heap space" errors are thrown on Tomcat 9. I would appreciate any insights or guidance you can provide to help me resolve this issue. Below are the details of the software I am using, * Windows Server 2016 Datacenter * ORDS 3.0.9 * Tomcat 9.0.73 (which is throwing the error) * Tomcat 8.5 (which works fine) * Java 1.8.0_361 Kind regards, Pratik Kulkarni