tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 15513] New: - OutOfMemoryError and adjusting the heap size not helping
Date Thu, 19 Dec 2002 03:02:56 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15513>.
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
	<<no stack trace available>>
AND
org.apache.jasper.JasperException: Unable to compile class for JSP The 
compiler has run out of memory.  Consider using the "-J-mx&lt;number&gt;" 
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:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message