Re: Tomcat memory allocation

2011-12-12 Thread Mark H. Wood
On Fri, Dec 09, 2011 at 02:52:23PM -, Martin O'Shea wrote: Thanks for this Chuck. I realise now what is happening. I thought the PermGen space was used in the heap when now I see it as just storing class definitions. So I could reduce it below 128Mb if I choose. Is there a default value?

RE: Tomcat memory allocation

2011-12-12 Thread Jeffrey Janner
-Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Friday, December 09, 2011 10:35 AM To: Tomcat Users List Subject: RE: Tomcat memory allocation From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Tomcat memory allocation I

Tomcat memory allocation

2011-12-09 Thread Martin O'Shea
Hello Following advice found elsewhere on the internet, I've just added the following line to the catalina.bat file in my installation of tomcat 6.0.26: set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m -XX:MaxPermSize=128m I know that settings: Xms128m -Xmx512m Control the initial heap size and

RE: Tomcat memory allocation

2011-12-09 Thread Caldarale, Charles R
From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: Tomcat memory allocation Following advice found elsewhere on the internet Always to be taken with large chunks of salt. set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m -XX:MaxPermSize=128m You would be better off using CATALINA_OPTS

RE: Tomcat memory allocation

2011-12-09 Thread Martin O'Shea
earlier and I wonder if memory was to blame although there is nothing in the system or server logs to say so. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: 09 Dec 2011 14 46 To: Tomcat Users List Subject: RE: Tomcat memory allocation From: Martin

RE: Tomcat memory allocation

2011-12-09 Thread Caldarale, Charles R
From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Tomcat memory allocation So I could reduce it below 128Mb if I choose. Is there a default value? Yes - for each platform and JVM type. Use JConsole on a running JVM to see what it is. A job hung earlier and I wonder

Re: Tomcat memory allocation

2011-12-09 Thread Ronald Klop (Mailing List)
Op vrijdag, 9 december 2011 16:11 schreef Pid p...@pidster.com: On 09/12/2011 14:52, Martin O'Shea wrote: -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: 09 Dec 2011 14 46 To: Tomcat Users List Subject: RE: Tomcat memory allocation

RE: Tomcat memory allocation

2011-12-09 Thread Daniel Mikusa
in the system or server logs to say so. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: 09 Dec 2011 14 46 To: Tomcat Users List Subject: RE: Tomcat memory allocation From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: Tomcat memory

RE: Tomcat memory allocation

2011-12-09 Thread Caldarale, Charles R
From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Tomcat memory allocation But if I change the settings in catalina.bat to: Don't make changes to catalina.bat; create a setenv.bat to hold all your local settings. set CATALINA_OPTS=%CATALINA_OPTS% -Xms128m -Xmx768m

RE: Tomcat memory allocation

2011-12-09 Thread Martin O'Shea
...@unisys.com] Sent: 09 Dec 2011 15 29 To: Tomcat Users List Subject: RE: Tomcat memory allocation From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Tomcat memory allocation But if I change the settings in catalina.bat to: Don't make changes to catalina.bat; create a setenv.bat

RE: Tomcat memory allocation

2011-12-09 Thread Caldarale, Charles R
From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Tomcat memory allocation Sorry to belabour this but if I create a setenv.bat file with settings: set CATALINA_OPTS=%CATALINA_OPTS% -Xms128m -Xmx768m -XX:MaxPermSize=128m where should the file go and does it need to be called

RE: Tomcat memory allocation

2011-12-09 Thread Martin O'Shea
I should add that Tomcat is running as a Windows service, it isn't started manually. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: 09 Dec 2011 15 29 To: Tomcat Users List Subject: RE: Tomcat memory allocation From: Martin O'Shea [mailto:app

RE: Tomcat memory allocation

2011-12-09 Thread Caldarale, Charles R
From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Tomcat memory allocation I should add that Tomcat is running as a Windows service, it isn't started manually. In that case, nothing that we've been discussing about JAVA_OPTS, CATALINA_OPTS, startup.bat, catalina.bat

Re: Tomcat memory allocation

2011-12-09 Thread André Warnier
...@unisys.com] Sent: 09 Dec 2011 15 29 To: Tomcat Users List Subject: RE: Tomcat memory allocation From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Tomcat memory allocation But if I change the settings in catalina.bat to: Don't make changes to catalina.bat; create a setenv.bat

Re: Tomcat memory allocation

2011-12-09 Thread David kerber
On 12/9/2011 10:49 AM, Caldarale, Charles R wrote: From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Tomcat memory allocation I should add that Tomcat is running as a Windows service, it isn't started manually. In that case, nothing that we've been discussing about JAVA_OPTS

RE: Tomcat memory allocation

2011-12-09 Thread Martin O'Shea
...@verizon.net] Sent: 09 Dec 2011 16 02 To: users@tomcat.apache.org Subject: Re: Tomcat memory allocation On 12/9/2011 10:49 AM, Caldarale, Charles R wrote: From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Tomcat memory allocation I should add that Tomcat is running

RE: Tomcat memory allocation

2011-12-09 Thread Caldarale, Charles R
From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Tomcat memory allocation I believe I should be looking in the Windows Registry DO NOT edit the Windows registry - you will break something. Use the tomcat?w.exe utility; that's what it's for. - Chuck THIS COMMUNICATION MAY

Re: Tomcat memory allocation

2011-12-09 Thread André Warnier
David kerber wrote: On 12/9/2011 10:49 AM, Caldarale, Charles R wrote: From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Tomcat memory allocation I should add that Tomcat is running as a Windows service, it isn't started manually. In that case, nothing that we've been

Re: Tomcat memory allocation

2011-12-09 Thread Pid
On 09/12/2011 16:37, André Warnier wrote: David kerber wrote: On 12/9/2011 10:49 AM, Caldarale, Charles R wrote: From: Martin O'Shea [mailto:app...@dsl.pipex.com] Subject: RE: Tomcat memory allocation I should add that Tomcat is running as a Windows service, it isn't started manually

RE: tomcat memory allocation

2006-07-11 Thread Speulman, Elly
-Oorspronkelijk bericht- Van: Mark Thomas [mailto:[EMAIL PROTECTED] Verzonden: donderdag 6 juli 2006 3:25 Aan: Tomcat Users List Onderwerp: Re: tomcat memory allocation Speulman, Elly wrote: Hi, Is there anyone out there who has been able to configure more than 1550M for Tomcat 5.0

Re: tomcat memory allocation

2006-07-11 Thread Leon Rosenberg
Users List Onderwerp: Re: tomcat memory allocation Speulman, Elly wrote: Hi, Is there anyone out there who has been able to configure more than 1550M for Tomcat 5.0 on a Windows advanced server installation. The server has a total of 4Gb of memory. We are just not able to cross a border

tomcat memory allocation

2006-07-05 Thread Speulman, Elly
Hi, Is there anyone out there who has been able to configure more than 1550M for Tomcat 5.0 on a Windows advanced server installation. The server has a total of 4Gb of memory. We are just not able to cross a border. Config of Tomcat memory takes place via the Tomcat configuration buttons. Perhaps

Re: tomcat memory allocation

2006-07-05 Thread David Rees
On 7/5/06, Speulman, Elly [EMAIL PROTECTED] wrote: Is there anyone out there who has been able to configure more than 1550M for Tomcat 5.0 on a Windows advanced server installation. The server has a total of 4Gb of memory. We are just not able to cross a border. Config of Tomcat memory takes

Re: tomcat memory allocation

2006-07-05 Thread Mark Thomas
Speulman, Elly wrote: Hi, Is there anyone out there who has been able to configure more than 1550M for Tomcat 5.0 on a Windows advanced server installation. The server has a total of 4Gb of memory. We are just not able to cross a border. Config of Tomcat memory takes place via the Tomcat