DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=38107>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38107 Summary: memory leak when using https Product: Tomcat 5 Version: 5.5.12 Platform: Other OS/Version: Windows Server 2003 Status: NEW Severity: normal Priority: P2 Component: Connector:HTTP AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] There is a small memory leak when the ssl connector is used: I've configured a connector for a https port: <Connector port="18090" maxHttpHeaderSize="8192" maxThreads="75" minSpareThreads="25" maxSpareThreads="50" enableLookups="false" disableUploadTimeout="true" acceptCount="100" scheme="https" secure="true" keystoreFile="D:\tomcat/keystore" clientAuth="false" /> and have written a small program that fetches the tomcat root page 10000 times (using a commons-httpclient-wrapper): String url = "https://tomcathost:18090/"; for(int i = 0; i < count; i++){ HttpURLConnection con = handler.sendGetRequest(url, null); handler.endRequest(con, con.getInputStream()); if((i % 100) == 0){ int percent = (i * 100) / count; System.out.println(percent + "% done"); } } The result is a permanent increasing memory usage watched in windows task manager for the tomcat5 process (10000 requests causes a growth of 2036 KB). There is no memory leak using the http connector (without ssl). I've tried the tomcat versions 5.5.9 and 5.5.12 with the same result. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]