Differences between Tomcat and Jetty when running Grails applications

Has anyone worked with a Grails app in production at Jetty and Tomcat and noticed some important differences? I was having memory problems with tomcat 6.0.24 that were fixed when I upgraded to 6.0.26, and I was wondering if Jetty had such problems.

+3
source share
1 answer

I noticed that the problems were Tomcat, and Jetty does not:

Problem 1: Tomcat seems to have a hot deployment memory leak (at least prior to version 7) compared to Jetty. If you plan to quickly deploy several times, the teenager space grows with each deployment. Possible solutions:

  • ( ): -XX: PermSize = SIZE, -XX: MaxPermSize = SIZE ( sun jvm)
  • tomcat

2: Tomcat http PUT. , :

  • POST ( imo )
  • inpustream
  • url
+3

Source: https://habr.com/ru/post/1755108/


All Articles