Resolving OutOfMemory and PermGen errors in EngageOne® Deliver

Operating System: Windows 2008 64bit

Configuration: Apache Tomcat
If Java installed is 64-bit version, memory requirements are generally more than 32-bit as indicated by the eMessaging Install Guide.
OutofMemory or PermGen errors seen in Tomcat are generally caused by insufficient memory allocated to the JVM.
Upon seeing these errors in Tomcat log, attempt to increase the memory parameters passed to java.exe. The following is an example of how the memory parameter can be set in Tomcat's catalina.bat file:
set JAVA_OPTS=%JAVA_OPTS% -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=256m
If the above setting already persists, increase it by 1.5 or 2 times, e.g.
set JAVA_OPTS=%JAVA_OPTS% -Xms1024m –Xmx2048m -XX:PermSize=256m -XX:MaxPermSize=512m
UPDATED:  April 10, 2019