tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remy Maucherat <r...@apache.org>
Subject Re: cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector Request.java
Date Mon, 09 Aug 2004 21:26:18 GMT
Jan Luehe wrote:

> Agreed.
>
> I stumbled across mem usage as I was running a stress test
> under OptimizeIt (and eventually getting OutOfMemory errors from
> Servlets), and noticed a large number of char[] instances had been
> allocated due to each Request creating its own SimpleDateFormat[].

You get an OOM because of it ? I think not, though.
You need to speak hard numbers here (because syncing will have its own 
cost, esp on a large server that your company makes so much cash on ;) 
): how many bytes are allocated by each formatter ?

Rémy


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message