I have installed tomcat and tried to deploy a very simple GWT web app. I have already received emails to warm me that im over my app memory limit. Have I done something wrong with my installation? Or is Webfaction unsuitable for hosting Web Apps in particular GWT war files? I was hoping that Webfaction would be able to handle such apps. Considering that I only tried to deploy a simple app this is quite worrying Can anyone help me with the above? asked 24 May '13, 18:20 Santiago |
The simple fact is that Java web applications tend to use a lot of memory. There are some tips at this post that might help: heap memory java openjdk answered 24 May '13, 18:34 seanf could this be Tomcat related too? My app has been running since yesterday with no memory issues. Would the use of Jetty reduce the chances of getting this error again?
(25 May '13, 10:12)
Santiago
Yes, the memory usage of Tomcat and Jetty will be different -- although the difference will depend on your particular application. In most cases, Jetty will require less RAM than Tomcat. If you do test this, please post your results here so other people can learn from your experience.
(25 May '13, 16:07)
likebike
|