tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allistair Crossley" <Allistair.Cross...@QAS.com>
Subject RE: Out of Memory when compiling JSP (Struts app on Tomcat 4.1.27)
Date Thu, 06 Jan 2005 14:31:19 GMT
is tomcat restarting the web application when you compile these jsps?

> -----Original Message-----
> From: chachany@gmail.com [mailto:chachany@gmail.com]
> Sent: 06 January 2005 14:25
> To: tomcat-user@jakarta.apache.org
> Subject: Out of Memory when compiling JSP (Struts app on 
> Tomcat 4.1.27)
> 
> 
> Hi all
> 
> I'm working on an application currently that is experiencing some
> intermittent memory problems when installed onto our "integration
> test" server, but not on the development staff's local laptops.
> 
> I have attempted to increase the maximum memory available to Tomcat by
> creating a global environment variable (because tomcat runs as a
> service)
> 
> JAVA_OPTS=-Xmx512M
> 
> Which doesnt seem to have made a difference. Is this the best way to
> increaqte the memory available to an application? Is my syntax wrong?
> Are there other options I can set that will help?
> 
> The weird thing is that when I look at the memory usage of Tomcat.exe,
> the most memory it has used is 110,000
> 
> there seems to be no pattern to the memory errors (as usual) and it
> happens a lot when compiling JSP files.
> 
> The system memory seems high, but not horribly so. I see the following
> in Task Manager
> 
> MEM Usage = 885,000 (varies)
> 
> Commit Charge:
> Limit : 2,522,244
> Peak : 958,260
> 
> Anyone?
> 
> Thanks!
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 


<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> 
-------------------------------------------------------
QAS Ltd.
Developers of QuickAddress Software
<a href="http://www.qas.com">www.qas.com</a>
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>


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


Mime
View raw message