You would probably be better served looking at what you can change in the app so it does not require so much RAM. It has been my experience that when I get an out of memory error it is because I was forgetting to close an object, or calling too many large objects globally, or reading in too much data into a result set.

Of all my web apps only one requires the heap size to be raised to the 512MB limit. It loads multiple 1MB - 10MB overlays them on one another and then dynamically overlays a lot of font specific anti-aliasing text.

Unless the application is doing similarly demanding you would probably be better severed by debugging the app to see what is using so much RAM.

If you are making a development error like say forgetting to close an object something everyone on the list has done it is always better to learn of errors as early as possible so you do not carry it over to other apps.

A lesson I have learned the hard way.


Allistair Crossley wrote:
Oh yes :)

-----Original Message-----
From: Wolfgang Hackl [mailto:[EMAIL PROTECTED]
Sent: 12 August 2005 09:24
To: Tomcat Users List
Subject: RE: Out of memory




You can modify the memory settings for the windows service

also in the

service.bat file itself. I've been known to uninstall the

service, modify
the bat file and then service install again.

Forget about a reinstall. Use regedit and go to
HKEY_LOCAL_MACHINE\SOFTWARE\Apache software Foundation\Procrun
2.0\<yourTomcatServiceName>\Parameters\Java
and edit the JvmMx and JvmMs settings as your deployment requires.

Kind regards
Wolfgang

--
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse für Mail, Message, More +++

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> -------------------------------------------------------
QAS Ltd.
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Brian Cook
Digital Services Analyst
Print Time Inc.
[EMAIL PROTECTED]
913.345.8900

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to