| Tomcat runs of out memory in a RAD scenario [message #741950] |
Wed, 19 October 2011 23:28  |
Srinivasan Iyer Messages: 34 Registered: October 2011 |
Member |
|
|
The default Tomcat settings in a RAD scenario do not allocate much memory. Hence the application may run often out of memory quite frequently. The console log will often throw a java.lang.OutOfMemoryError exception. To avoid this, just add a different momory setting in the Tomcat launch configuration:
Servers > Open Launch Configuration > Arguments > VM arguments > at the very bottom add > -Xms128m -Xmx512m -XX:MaxPermSize=128m
[Updated on: Thu, 20 October 2011 06:32] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.01414 seconds