Hello there!
I'm using Tomcat 6.0.16 with an extremely simple servlet. The code of servlet is here (functions that doesn't mentioned here are blank): ... protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.getWriter().write("post!!!"); response.setStatus(200); } ... Tomcat used is clear distrib except servlet in webapps and server.xml changed. The source of the server.xml is follow (all content of file doesn't mentioned here remains original): ... <Connector port="8443" maxHttpHeaderSize="8192" connectionTimeout="60000" enableLookups="false" disableUploadTimeout="true" maxThreads="900" minSpareThreads="350" maxSpareThreads="700" acceptCount="700" protocol="HTTP/1.1" SSLEnabled="true" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile="/opt/.keystore" keystorePass="tomcat" /> ... I'm using SSL as you see. I'm running a loader which creates some threads (for example 40) that sends one POST request without parameters per second. There are no unusual HTTP headers in the request. I'm getting 300m for this Tomcat. After about three hours of working it throws an OutOfMemoryError. Exploring the dump at that time I'm found a lot of instances of com.sun.net.ssl.internal.ssl.SSLSessionImpl <http://192.168.12.164:7000/class/0xebe303c0> class. But may be this is not the reason. Thanks for any ideas and help. --Daniil.