tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lazar Kirchev <lazar.kirc...@gmail.com>
Subject Increased memory consumption due to url encoding
Date Tue, 09 Aug 2016 12:40:17 GMT
Hello!
When handling requests which make use of request dispatcher, Tomcat 7.0.70
allocates more memory in comparison to 7.0.69. This seems to come from the
encoding of the path introduced with this change
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/
apache/catalina/core/ApplicationContext.java?r1=1741024&r2=1741023&pathrev=
1741024
50000 requests to a very simple servlet which only gets a request
dispatcher for some path lead to allocation of about 400 MB. However, after
a GC they are freed and this actually does not influence CPU or response
time.
Has anybody noticed this effect and what do you think about it?

Kind regards,
Lazar

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message