Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 36859 invoked from network); 19 Dec 2002 03:01:42 -0000 Received: from exchange.sun.com (HELO nagoya.betaversion.org) (192.18.33.10) by daedalus.apache.org with SMTP; 19 Dec 2002 03:01:42 -0000 Received: (qmail 26439 invoked by uid 97); 19 Dec 2002 03:02:57 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 26409 invoked by uid 97); 19 Dec 2002 03:02:56 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 26398 invoked by uid 50); 19 Dec 2002 03:02:56 -0000 Date: 19 Dec 2002 03:02:56 -0000 Message-ID: <20021219030256.26397.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 15513] New: - OutOfMemoryError and adjusting the heap size not helping X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15513 OutOfMemoryError and adjusting the heap size not helping Summary: OutOfMemoryError and adjusting the heap size not helping Product: Tomcat 4 Version: 4.0.2 Final Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Unknown AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: david@athletic.net I have Tomcat 4.0.2 Final runing through IIS on a server with 1gb of physical memory. (And Tomcat 4.1.12 on my test box) On the live site, after running for a while (1hr to 1 day) I start to get errors: ----- java.lang.OutOfMemoryError <> AND org.apache.jasper.JasperException: Unable to compile class for JSP The compiler has run out of memory. Consider using the "-J-mx<number>" command line option to increase the maximum heap size. ------ following the suggestion in the second error, I have set CATALINA_OPTS="-Xmx700m -Xms700m" By setting low values, I can get the system to error sooner, but still get the out of memory errors even with those high values. When tomcat starts, java.exe promptly goes up to about 100mb, and never goes over about 120mb. (in Windows Task Manager) Does anyone have an idea why I still get OutOfMemoryError after setting -Xmx to 700MB? (and why java.exe never goes above 120mb? Shouldn�t it be over 700mb?) Thanks! -- To unsubscribe, e-mail: For additional commands, e-mail: