Re: Max Memory Reading
maybe the value for environment variables called JAVA_OPTS equals those values ? try to echo $JAVA_OPTS and see if theres any value. On 10/13/06, Alan Flisch [EMAIL PROTECTED] wrote: Hi, I was having some problems with perm gen space on one of our tomcat instances and decided to increase the perm gen size and review the JAVA_OPTS settings in general when I noticed something curious. No settings are currently made so its just running with default values, but the manager status page shows the following... Free memory: 158.53 MB Total memory: 373.75 MB Max memory: 913.37 MB That max memory figure in particular looks like a pretty strange default! I thought the default was 64m. The installation details are as follows... Apache Tomcat/5.5.16 1.5.0_06-b05 Sun Microsystems Inc. SunOS 5.9 sparc The system has 16G of RAM. Has anybody any thoughts? Regards, Alan This e-mail and any accompanying documents contain confidential information intended for a specific individual which is private and protected by law. If you are not the intended recipient, any disclosure, copying, distribution or other use of this information is strictly prohibited. You are also requested to advise us immediately if you receive information which is not addressed to you. beCogent is Authorised and Regulated by the Financial Services Authority. * -- --- Laboratorium Pemrograman Kehidupan Kavling Bumi, Galaksi Bimasakti D.u.n.i.a #365364 Registered Linux User
Re: Max Memory Reading
Already checked that, it's not in the environment and not set in either startup.sh or catalina.sh. On Fri, 2006-10-13 at 14:17 +0700, Lintang JP wrote: maybe the value for environment variables called JAVA_OPTS equals those values ? try to echo $JAVA_OPTS and see if theres any value. On 10/13/06, Alan Flisch [EMAIL PROTECTED] wrote: Hi, I was having some problems with perm gen space on one of our tomcat instances and decided to increase the perm gen size and review the JAVA_OPTS settings in general when I noticed something curious. No settings are currently made so its just running with default values, but the manager status page shows the following... Free memory: 158.53 MB Total memory: 373.75 MB Max memory: 913.37 MB That max memory figure in particular looks like a pretty strange default! I thought the default was 64m. The installation details are as follows... Apache Tomcat/5.5.16 1.5.0_06-b05 Sun Microsystems Inc. SunOS 5.9 sparc The system has 16G of RAM. Has anybody any thoughts? Regards, Alan This e-mail and any accompanying documents contain confidential information intended for a specific individual which is private and protected by law. If you are not the intended recipient, any disclosure, copying, distribution or other use of this information is strictly prohibited. You are also requested to advise us immediately if you receive information which is not addressed to you. beCogent is Authorised and Regulated by the Financial Services Authority. * Alan Flisch Senior Developer beCogent Ltd. www.beCogent.com T: +44 (0)1236 628 113 F: +44 (0)1236 628 101 E: [EMAIL PROTECTED] This e-mail and any accompanying documents contain confidential information intended for a specific individual which is private and protected by law. If you are not the intended recipient, any disclosure, copying, distribution or other use of this information is strictly prohibited. You are also requested to advise us immediately if you receive information which is not addressed to you. beCogent is Authorised and Regulated by the Financial Services Authority. *
Re: Max Memory Reading
/etc/init.d/tomcat5 ? Check for -Xms and -Xmm options On 10/13/06, Alan Flisch [EMAIL PROTECTED] wrote: Already checked that, it's not in the environment and not set in either startup.sh or catalina.sh. On Fri, 2006-10-13 at 14:17 +0700, Lintang JP wrote: maybe the value for environment variables called JAVA_OPTS equals those values ? try to echo $JAVA_OPTS and see if theres any value. On 10/13/06, Alan Flisch [EMAIL PROTECTED] wrote: Hi, I was having some problems with perm gen space on one of our tomcat instances and decided to increase the perm gen size and review the JAVA_OPTS settings in general when I noticed something curious. No settings are currently made so its just running with default values, but the manager status page shows the following... Free memory: 158.53 MB Total memory: 373.75 MB Max memory: 913.37 MB That max memory figure in particular looks like a pretty strange default! I thought the default was 64m. The installation details are as follows... Apache Tomcat/5.5.16 1.5.0_06-b05 Sun Microsystems Inc. SunOS 5.9 sparc The system has 16G of RAM. Has anybody any thoughts? Regards, Alan This e-mail and any accompanying documents contain confidential information intended for a specific individual which is private and protected by law. If you are not the intended recipient, any disclosure, copying, distribution or other use of this information is strictly prohibited. You are also requested to advise us immediately if you receive information which is not addressed to you. beCogent is Authorised and Regulated by the Financial Services Authority. * Alan Flisch Senior Developer beCogent Ltd. www.beCogent.com T: +44 (0)1236 628 113 F: +44 (0)1236 628 101 E: [EMAIL PROTECTED] This e-mail and any accompanying documents contain confidential information intended for a specific individual which is private and protected by law. If you are not the intended recipient, any disclosure, copying, distribution or other use of this information is strictly prohibited. You are also requested to advise us immediately if you receive information which is not addressed to you. beCogent is Authorised and Regulated by the Financial Services Authority. * -- Pascal Alberty http://pascal.albertyorban.be - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Max Memory Reading
Good idea, but nothing set there either. The fact it's such an odd number is another perplexing issue. On Fri, 2006-10-13 at 09:36 +0200, Pascal Alberty wrote: /etc/init.d/tomcat5 ? Check for -Xms and -Xmm options On 10/13/06, Alan Flisch [EMAIL PROTECTED] wrote: Already checked that, it's not in the environment and not set in either startup.sh or catalina.sh. On Fri, 2006-10-13 at 14:17 +0700, Lintang JP wrote: maybe the value for environment variables called JAVA_OPTS equals those values ? try to echo $JAVA_OPTS and see if theres any value. On 10/13/06, Alan Flisch [EMAIL PROTECTED] wrote: Hi, I was having some problems with perm gen space on one of our tomcat instances and decided to increase the perm gen size and review the JAVA_OPTS settings in general when I noticed something curious. No settings are currently made so its just running with default values, but the manager status page shows the following... Free memory: 158.53 MB Total memory: 373.75 MB Max memory: 913.37 MB That max memory figure in particular looks like a pretty strange default! I thought the default was 64m. The installation details are as follows... Apache Tomcat/5.5.16 1.5.0_06-b05 Sun Microsystems Inc. SunOS 5.9 sparc The system has 16G of RAM. Has anybody any thoughts? Regards, Alan This e-mail and any accompanying documents contain confidential information intended for a specific individual which is private and protected by law. If you are not the intended recipient, any disclosure, copying, distribution or other use of this information is strictly prohibited. You are also requested to advise us immediately if you receive information which is not addressed to you. beCogent is Authorised and Regulated by the Financial Services Authority. * This e-mail and any accompanying documents contain confidential information intended for a specific individual which is private and protected by law. If you are not the intended recipient, any disclosure, copying, distribution or other use of this information is strictly prohibited. You are also requested to advise us immediately if you receive information which is not addressed to you. beCogent is Authorised and Regulated by the Financial Services Authority. *
Re: Max Memory Reading
Thanks, I suspected that, but couldn't find a reference in any JVM docs. Do you have a reference I could look at so I could better understand what is going on? In order for me to set an appropriate larger perm gen size, I suppose I'd need to know what it currently is. I seem to remember it is independent of the max heap size. Any thoughts on this? Regards, Alan On Fri, 2006-10-13 at 12:28 +0200, Leon Rosenberg wrote: The default memory values depends on your machine (processor speed and count, total amount of memory) and are guessed by the vm (if not explicitely specified) upon application start. Times of 64Mb max memory are long over now. regards Leon On 10/13/06, Alan Flisch [EMAIL PROTECTED] wrote: Hi, I was having some problems with perm gen space on one of our tomcat instances and decided to increase the perm gen size and review the JAVA_OPTS settings in general when I noticed something curious. No settings are currently made so its just running with default values, but the manager status page shows the following... Free memory: 158.53 MB Total memory: 373.75 MB Max memory: 913.37 MB That max memory figure in particular looks like a pretty strange default! I thought the default was 64m. The installation details are as follows... Apache Tomcat/5.5.16 1.5.0_06-b05 Sun Microsystems Inc. SunOS 5.9 sparc The system has 16G of RAM. Has anybody any thoughts? Regards, Alan This e-mail and any accompanying documents contain confidential information intended for a specific individual which is private and protected by law. If you are not the intended recipient, any disclosure, copying, distribution or other use of this information is strictly prohibited. You are also requested to advise us immediately if you receive information which is not addressed to you. beCogent is Authorised and Regulated by the Financial Services Authority. * - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail and any accompanying documents contain confidential information intended for a specific individual which is private and protected by law. If you are not the intended recipient, any disclosure, copying, distribution or other use of this information is strictly prohibited. You are also requested to advise us immediately if you receive information which is not addressed to you. beCogent is Authorised and Regulated by the Financial Services Authority. *
Re: Max Memory Reading
def perm size is 64Mb On 10/13/06, Alan Flisch [EMAIL PROTECTED] wrote: Thanks, I suspected that, but couldn't find a reference in any JVM docs. Do you have a reference I could look at so I could better understand what is going on? In order for me to set an appropriate larger perm gen size, I suppose I'd need to know what it currently is. I seem to remember it is independent of the max heap size. Any thoughts on this? Regards, Alan On Fri, 2006-10-13 at 12:28 +0200, Leon Rosenberg wrote: The default memory values depends on your machine (processor speed and count, total amount of memory) and are guessed by the vm (if not explicitely specified) upon application start. Times of 64Mb max memory are long over now. regards Leon On 10/13/06, Alan Flisch [EMAIL PROTECTED] wrote: Hi, I was having some problems with perm gen space on one of our tomcat instances and decided to increase the perm gen size and review the JAVA_OPTS settings in general when I noticed something curious. No settings are currently made so its just running with default values, but the manager status page shows the following... Free memory: 158.53 MB Total memory: 373.75 MB Max memory: 913.37 MB That max memory figure in particular looks like a pretty strange default! I thought the default was 64m. The installation details are as follows... Apache Tomcat/5.5.16 1.5.0_06-b05 Sun Microsystems Inc. SunOS 5.9 sparc The system has 16G of RAM. Has anybody any thoughts? Regards, Alan This e-mail and any accompanying documents contain confidential information intended for a specific individual which is private and protected by law. If you are not the intended recipient, any disclosure, copying, distribution or other use of this information is strictly prohibited. You are also requested to advise us immediately if you receive information which is not addressed to you. beCogent is Authorised and Regulated by the Financial Services Authority. * - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail and any accompanying documents contain confidential information intended for a specific individual which is private and protected by law. If you are not the intended recipient, any disclosure, copying, distribution or other use of this information is strictly prohibited. You are also requested to advise us immediately if you receive information which is not addressed to you. beCogent is Authorised and Regulated by the Financial Services Authority. * - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Max Memory Reading
Thanks. Found a reference too: http://java.sun.com/j2se/1.5.0/docs/guide/vm/gc-ergonomics.html Going to set the following... -server -Xmx2000m -XX:MaxPermSize=256m On Fri, 2006-10-13 at 12:38 +0200, Leon Rosenberg wrote: def perm size is 64Mb On 10/13/06, Alan Flisch [EMAIL PROTECTED] wrote: Thanks, I suspected that, but couldn't find a reference in any JVM docs. Do you have a reference I could look at so I could better understand what is going on? In order for me to set an appropriate larger perm gen size, I suppose I'd need to know what it currently is. I seem to remember it is independent of the max heap size. Any thoughts on this? Regards, Alan On Fri, 2006-10-13 at 12:28 +0200, Leon Rosenberg wrote: The default memory values depends on your machine (processor speed and count, total amount of memory) and are guessed by the vm (if not explicitely specified) upon application start. Times of 64Mb max memory are long over now. regards Leon On 10/13/06, Alan Flisch [EMAIL PROTECTED] wrote: Hi, I was having some problems with perm gen space on one of our tomcat instances and decided to increase the perm gen size and review the JAVA_OPTS settings in general when I noticed something curious. No settings are currently made so its just running with default values, but the manager status page shows the following... Free memory: 158.53 MB Total memory: 373.75 MB Max memory: 913.37 MB That max memory figure in particular looks like a pretty strange default! I thought the default was 64m. The installation details are as follows... Apache Tomcat/5.5.16 1.5.0_06-b05 Sun Microsystems Inc. SunOS 5.9 sparc The system has 16G of RAM. Has anybody any thoughts? Regards, Alan This e-mail and any accompanying documents contain confidential information intended for a specific individual which is private and protected by law. If you are not the intended recipient, any disclosure, copying, distribution or other use of this information is strictly prohibited. You are also requested to advise us immediately if you receive information which is not addressed to you. beCogent is Authorised and Regulated by the Financial Services Authority. * - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail and any accompanying documents contain confidential information intended for a specific individual which is private and protected by law. If you are not the intended recipient, any disclosure, copying, distribution or other use of this information is strictly prohibited. You are also requested to advise us immediately if you receive information which is not addressed to you. beCogent is Authorised and Regulated by the Financial Services Authority. * - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Alan Flisch Senior Developer beCogent Ltd. www.beCogent.com T: +44 (0)1236 628 113 F: +44 (0)1236 628 101 E: [EMAIL PROTECTED] This e-mail and any accompanying documents contain confidential information intended for a specific individual which is private and protected by law. If you are not the intended recipient, any disclosure, copying, distribution or other use of this information is strictly prohibited. You are also requested to advise us immediately if you receive information which is not addressed to you. beCogent is Authorised and Regulated by the Financial Services Authority. *
Re: Max Memory Reading
just as note Xmx2000m works on 64bit vm only and you can use g instead of 1000m - -Xmx2g regards Leon P.S. You should set your ms=mx, saves time :-) On 10/13/06, Alan Flisch [EMAIL PROTECTED] wrote: Thanks. Found a reference too: http://java.sun.com/j2se/1.5.0/docs/guide/vm/gc-ergonomics.html Going to set the following... -server -Xmx2000m -XX:MaxPermSize=256m On Fri, 2006-10-13 at 12:38 +0200, Leon Rosenberg wrote: def perm size is 64Mb On 10/13/06, Alan Flisch [EMAIL PROTECTED] wrote: Thanks, I suspected that, but couldn't find a reference in any JVM docs. Do you have a reference I could look at so I could better understand what is going on? In order for me to set an appropriate larger perm gen size, I suppose I'd need to know what it currently is. I seem to remember it is independent of the max heap size. Any thoughts on this? Regards, Alan On Fri, 2006-10-13 at 12:28 +0200, Leon Rosenberg wrote: The default memory values depends on your machine (processor speed and count, total amount of memory) and are guessed by the vm (if not explicitely specified) upon application start. Times of 64Mb max memory are long over now. regards Leon On 10/13/06, Alan Flisch [EMAIL PROTECTED] wrote: Hi, I was having some problems with perm gen space on one of our tomcat instances and decided to increase the perm gen size and review the JAVA_OPTS settings in general when I noticed something curious. No settings are currently made so its just running with default values, but the manager status page shows the following... Free memory: 158.53 MB Total memory: 373.75 MB Max memory: 913.37 MB That max memory figure in particular looks like a pretty strange default! I thought the default was 64m. The installation details are as follows... Apache Tomcat/5.5.16 1.5.0_06-b05 Sun Microsystems Inc. SunOS 5.9 sparc The system has 16G of RAM. Has anybody any thoughts? Regards, Alan This e-mail and any accompanying documents contain confidential information intended for a specific individual which is private and protected by law. If you are not the intended recipient, any disclosure, copying, distribution or other use of this information is strictly prohibited. You are also requested to advise us immediately if you receive information which is not addressed to you. beCogent is Authorised and Regulated by the Financial Services Authority. * - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail and any accompanying documents contain confidential information intended for a specific individual which is private and protected by law. If you are not the intended recipient, any disclosure, copying, distribution or other use of this information is strictly prohibited. You are also requested to advise us immediately if you receive information which is not addressed to you. beCogent is Authorised and Regulated by the Financial Services Authority. * - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Alan Flisch Senior Developer beCogent Ltd. www.beCogent.com T: +44 (0)1236 628 113 F: +44 (0)1236 628 101 E: [EMAIL PROTECTED] This e-mail and any accompanying documents contain confidential information intended for a specific individual which is private and protected by law. If you are not the intended recipient, any disclosure, copying, distribution or other use of this information is strictly prohibited. You are also requested to advise us immediately if you receive information which is not addressed to you. beCogent is Authorised and Regulated by the Financial Services Authority. *
Re: Max Memory Reading
I thought you were safe up to 4000m (in practice a little lower) for the 32 bit VM. Regards, Alan On Fri, 2006-10-13 at 13:04 +0200, Leon Rosenberg wrote: just as note Xmx2000m works on 64bit vm only and you can use g instead of 1000m - -Xmx2g regards Leon P.S. You should set your ms=mx, saves time :-) On 10/13/06, Alan Flisch [EMAIL PROTECTED] wrote: Thanks. Found a reference too: http://java.sun.com/j2se/1.5.0/docs/guide/vm/gc-ergonomics.html Going to set the following... -server -Xmx2000m -XX:MaxPermSize=256m On Fri, 2006-10-13 at 12:38 +0200, Leon Rosenberg wrote: def perm size is 64Mb On 10/13/06, Alan Flisch [EMAIL PROTECTED] wrote: Thanks, I suspected that, but couldn't find a reference in any JVM docs. Do you have a reference I could look at so I could better understand what is going on? In order for me to set an appropriate larger perm gen size, I suppose I'd need to know what it currently is. I seem to remember it is independent of the max heap size. Any thoughts on this? Regards, Alan On Fri, 2006-10-13 at 12:28 +0200, Leon Rosenberg wrote: The default memory values depends on your machine (processor speed and count, total amount of memory) and are guessed by the vm (if not explicitely specified) upon application start. Times of 64Mb max memory are long over now. regards Leon On 10/13/06, Alan Flisch [EMAIL PROTECTED] wrote: Hi, I was having some problems with perm gen space on one of our tomcat instances and decided to increase the perm gen size and review the JAVA_OPTS settings in general when I noticed something curious. No settings are currently made so its just running with default values, but the manager status page shows the following... Free memory: 158.53 MB Total memory: 373.75 MB Max memory: 913.37 MB That max memory figure in particular looks like a pretty strange default! I thought the default was 64m. The installation details are as follows... Apache Tomcat/5.5.16 1.5.0_06-b05 Sun Microsystems Inc. SunOS 5.9 sparc The system has 16G of RAM. Has anybody any thoughts? Regards, Alan This e-mail and any accompanying documents contain confidential information intended for a specific individual which is private and protected by law. If you are not the intended recipient, any disclosure, copying, distribution or other use of this information is strictly prohibited. You are also requested to advise us immediately if you receive information which is not addressed to you. beCogent is Authorised and Regulated by the Financial Services Authority. * - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail and any accompanying documents contain confidential information intended for a specific individual which is private and protected by law. If you are not the intended recipient, any disclosure, copying, distribution or other use of this information is strictly prohibited. You are also requested to advise us immediately if you receive information which is not addressed to you. beCogent is Authorised and Regulated by the Financial Services Authority. * - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Alan Flisch Senior Developer beCogent Ltd. www.beCogent.com T: +44 (0)1236 628 113 F: +44 (0)1236 628 101 E: [EMAIL PROTECTED] This e-mail and any accompanying documents contain confidential information intended for a specific individual which is private and protected by law. If you are not
Re: Max Memory Reading
Nope - the 32Bit JVM can only deal with about 1.5GB Ram Andrew On 13/10/2006, at 2:51 PM, Alan Flisch wrote: I thought you were safe up to 4000m (in practice a little lower) for the 32 bit VM. Regards, Alan - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Max Memory Reading
Leon, The default memory values depends on your machine (processor speed and count, total amount of memory) and are guessed by the vm (if not explicitely specified) upon application start. Times of 64Mb max memory are long over now. Really? Seems like 32-bit Sun JVM on Sparc has exactly 64MB max value by default: http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html#0.0.0.%20Total%20Heap%7Coutline ...or are we on a higher version of the GC by now? Alan, what happens if you explicitly set your -Xms and -Xmx values? Does the VM listen to you? Are you calling startup.sh or catalina.sh directly when you start up Tomcat, or do you use any other kind of scripting (like ant) or have you installed it as a service (/etc/init.d/tomcat or whatever)? If some other process is starting Tomcat for you, then you can't trust what your bash environment is telling you. -chris regards Leon On 10/13/06, Alan Flisch [EMAIL PROTECTED] wrote: Hi, I was having some problems with perm gen space on one of our tomcat instances and decided to increase the perm gen size and review the JAVA_OPTS settings in general when I noticed something curious. No settings are currently made so its just running with default values, but the manager status page shows the following... Free memory: 158.53 MB Total memory: 373.75 MB Max memory: 913.37 MB That max memory figure in particular looks like a pretty strange default! I thought the default was 64m. The installation details are as follows... Apache Tomcat/5.5.16 1.5.0_06-b05 Sun Microsystems Inc. SunOS 5.9 sparc The system has 16G of RAM. Has anybody any thoughts? Regards, Alan This e-mail and any accompanying documents contain confidential information intended for a specific individual which is private and protected by law. If you are not the intended recipient, any disclosure, copying, distribution or other use of this information is strictly prohibited. You are also requested to advise us immediately if you receive information which is not addressed to you. beCogent is Authorised and Regulated by the Financial Services Authority. * - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] signature.asc Description: OpenPGP digital signature
Re: Max Memory Reading
Hmm, I'm not familiar with limitations on solaris. On linux 32bit VM can allocate 1.6-1.8 GB depending on vendor (1.6 for sun-jdk). On the other side, if you are on 64bit OS (and you probably are, or how could you adress 16GB otherwise), why not using 64bit jdk? regards Leon On 10/13/06, Alan Flisch [EMAIL PROTECTED] wrote: I thought you were safe up to 4000m (in practice a little lower) for the 32 bit VM. Regards, Alan On Fri, 2006-10-13 at 13:04 +0200, Leon Rosenberg wrote: just as note Xmx2000m works on 64bit vm only and you can use g instead of 1000m - -Xmx2g regards Leon P.S. You should set your ms=mx, saves time :-) On 10/13/06, Alan Flisch [EMAIL PROTECTED] wrote: Thanks. Found a reference too: http://java.sun.com/j2se/1.5.0/docs/guide/vm/gc-ergonomics.html Going to set the following... -server -Xmx2000m -XX:MaxPermSize=256m On Fri, 2006-10-13 at 12:38 +0200, Leon Rosenberg wrote: def perm size is 64Mb On 10/13/06, Alan Flisch [EMAIL PROTECTED] wrote: Thanks, I suspected that, but couldn't find a reference in any JVM docs. Do you have a reference I could look at so I could better understand what is going on? In order for me to set an appropriate larger perm gen size, I suppose I'd need to know what it currently is. I seem to remember it is independent of the max heap size. Any thoughts on this? Regards, Alan On Fri, 2006-10-13 at 12:28 +0200, Leon Rosenberg wrote: The default memory values depends on your machine (processor speed and count, total amount of memory) and are guessed by the vm (if not explicitely specified) upon application start. Times of 64Mb max memory are long over now. regards Leon On 10/13/06, Alan Flisch [EMAIL PROTECTED] wrote: Hi, I was having some problems with perm gen space on one of our tomcat instances and decided to increase the perm gen size and review the JAVA_OPTS settings in general when I noticed something curious. No settings are currently made so its just running with default values, but the manager status page shows the following... Free memory: 158.53 MB Total memory: 373.75 MB Max memory: 913.37 MB That max memory figure in particular looks like a pretty strange default! I thought the default was 64m. The installation details are as follows... Apache Tomcat/5.5.16 1.5.0_06-b05 Sun Microsystems Inc. SunOS 5.9 sparc The system has 16G of RAM. Has anybody any thoughts? Regards, Alan This e-mail and any accompanying documents contain confidential information intended for a specific individual which is private and protected by law. If you are not the intended recipient, any disclosure, copying, distribution or other use of this information is strictly prohibited. You are also requested to advise us immediately if you receive information which is not addressed to you. beCogent is Authorised and Regulated by the Financial Services Authority. * - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail and any accompanying documents contain confidential information intended for a specific individual which is private and protected by law. If you are not the intended recipient, any disclosure, copying, distribution or other use of this information is strictly prohibited. You are also requested to advise us immediately if you receive information which is not addressed to you. beCogent is Authorised and Regulated by the Financial Services Authority. * - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Alan Flisch Senior Developer beCogent Ltd. www.beCogent.com T: +44 (0)1236 628 113 F: +44 (0)1236 628 101 E: [EMAIL PROTECTED]
Re: Max Memory Reading
Christopher, unfortunately google is not your friend in this case and the document seems outdated :-) http://java.sun.com/docs/hotspot/gc5.0/ergo5.html n the J2SE platform version 5.0 a class of machine referred to as a server-class machine has been defined as a machine with 2 or more physical processors 2 or more Gbytes of physical memory On server-class machines by default the following are selected. Throughput garbage collector Heap sizes: initial heap size of 1/64 of physical memory up to 1Gbyte maximum heap size of ΒΌ of physical memory up to 1Gbyte Server runtime compiler the 1GB limit fits Alan's MaxMemory of 913.37 MB regards Leon On 10/13/06, Christopher Schultz [EMAIL PROTECTED] wrote: Leon, The default memory values depends on your machine (processor speed and count, total amount of memory) and are guessed by the vm (if not explicitely specified) upon application start. Times of 64Mb max memory are long over now. Really? Seems like 32-bit Sun JVM on Sparc has exactly 64MB max value by default: http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html#0.0.0.%20Total%20Heap%7Coutline ...or are we on a higher version of the GC by now? Alan, what happens if you explicitly set your -Xms and -Xmx values? Does the VM listen to you? Are you calling startup.sh or catalina.sh directly when you start up Tomcat, or do you use any other kind of scripting (like ant) or have you installed it as a service (/etc/init.d/tomcat or whatever)? If some other process is starting Tomcat for you, then you can't trust what your bash environment is telling you. -chris regards Leon On 10/13/06, Alan Flisch [EMAIL PROTECTED] wrote: Hi, I was having some problems with perm gen space on one of our tomcat instances and decided to increase the perm gen size and review the JAVA_OPTS settings in general when I noticed something curious. No settings are currently made so its just running with default values, but the manager status page shows the following... Free memory: 158.53 MB Total memory: 373.75 MB Max memory: 913.37 MB That max memory figure in particular looks like a pretty strange default! I thought the default was 64m. The installation details are as follows... Apache Tomcat/5.5.16 1.5.0_06-b05 Sun Microsystems Inc. SunOS 5.9 sparc The system has 16G of RAM. Has anybody any thoughts? Regards, Alan This e-mail and any accompanying documents contain confidential information intended for a specific individual which is private and protected by law. If you are not the intended recipient, any disclosure, copying, distribution or other use of this information is strictly prohibited. You are also requested to advise us immediately if you receive information which is not addressed to you. beCogent is Authorised and Regulated by the Financial Services Authority. * - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Max Memory Reading
It could actually be a 64 bit JVM (I didn't install it) although I suspect not, but as I have no need to push the memory up any further just now, I'll leave addressing that till later. I'll maybe just make it 1600m or something for now as that should be more than adequate. The server isn't hammered but hosts quite a few apps and that is why the demands on the perm gen space are higher than is typical. Regards, Alan On Fri, 2006-10-13 at 15:03 +0200, Leon Rosenberg wrote: Hmm, I'm not familiar with limitations on solaris. On linux 32bit VM can allocate 1.6-1.8 GB depending on vendor (1.6 for sun-jdk). On the other side, if you are on 64bit OS (and you probably are, or how could you adress 16GB otherwise), why not using 64bit jdk? regards Leon On 10/13/06, Alan Flisch [EMAIL PROTECTED] wrote: I thought you were safe up to 4000m (in practice a little lower) for the 32 bit VM. Regards, Alan On Fri, 2006-10-13 at 13:04 +0200, Leon Rosenberg wrote: just as note Xmx2000m works on 64bit vm only and you can use g instead of 1000m - -Xmx2g regards Leon P.S. You should set your ms=mx, saves time :-) On 10/13/06, Alan Flisch [EMAIL PROTECTED] wrote: Thanks. Found a reference too: http://java.sun.com/j2se/1.5.0/docs/guide/vm/gc-ergonomics.html Going to set the following... -server -Xmx2000m -XX:MaxPermSize=256m On Fri, 2006-10-13 at 12:38 +0200, Leon Rosenberg wrote: def perm size is 64Mb On 10/13/06, Alan Flisch [EMAIL PROTECTED] wrote: Thanks, I suspected that, but couldn't find a reference in any JVM docs. Do you have a reference I could look at so I could better understand what is going on? In order for me to set an appropriate larger perm gen size, I suppose I'd need to know what it currently is. I seem to remember it is independent of the max heap size. Any thoughts on this? Regards, Alan On Fri, 2006-10-13 at 12:28 +0200, Leon Rosenberg wrote: The default memory values depends on your machine (processor speed and count, total amount of memory) and are guessed by the vm (if not explicitely specified) upon application start. Times of 64Mb max memory are long over now. regards Leon On 10/13/06, Alan Flisch [EMAIL PROTECTED] wrote: Hi, I was having some problems with perm gen space on one of our tomcat instances and decided to increase the perm gen size and review the JAVA_OPTS settings in general when I noticed something curious. No settings are currently made so its just running with default values, but the manager status page shows the following... Free memory: 158.53 MB Total memory: 373.75 MB Max memory: 913.37 MB That max memory figure in particular looks like a pretty strange default! I thought the default was 64m. The installation details are as follows... Apache Tomcat/5.5.16 1.5.0_06-b05 Sun Microsystems Inc. SunOS 5.9 sparc The system has 16G of RAM. Has anybody any thoughts? Regards, Alan This e-mail and any accompanying documents contain confidential information intended for a specific individual which is private and protected by law. If you are not the intended recipient, any disclosure, copying, distribution or other use of this information is strictly prohibited. You are also requested to advise us immediately if you receive information which is not addressed to you. beCogent is Authorised and Regulated by the Financial Services Authority. * - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail and any accompanying documents contain confidential information intended for a specific individual which is private and protected by law. If you are not the intended recipient, any disclosure, copying, distribution or other use of this
RE: Max Memory Reading
From: Andrew Miehs [mailto:[EMAIL PROTECTED] Subject: Re: Max Memory Reading Nope - the 32Bit JVM can only deal with about 1.5GB Ram That's a Windows, not JVM, limitation. The virtual memory setup is different on Solaris, so higher values are possible. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Max Memory Reading
From: Alan Flisch [mailto:[EMAIL PROTECTED] Subject: Re: Max Memory Reading I thought you were safe up to 4000m (in practice a little lower) for the 32 bit VM. Depends on the OS. For Windows, the limit is around 1.5 - 1.6 GB, since the JVM code, heap, several ancilliary DLLs, and other junk has to fit inside a fragmented 2 GB virtual space. However, this is Solaris 5.9, and a somewhat larger limit can be used here. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Max Memory Reading
From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Subject: Re: Max Memory Reading On the other side, if you are on 64bit OS (and you probably are, or how could you adress 16GB otherwise), why not using 64bit jdk? Did Solaris 5.9 have a 64-bit version? It's a bit on the old side, so I doubt it. Virtual memory addressing (32-bit pointers) has no bearing on real memory size limits - that's a function of the number of physical address lines coming out of the CPU and the size of fields in the page table. Large 32-bit Sparc servers have allowed more than 4 GB real memory for a long, long time. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Max Memory Reading
From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Subject: Re: Max Memory Reading unfortunately google is not your friend in this case and the document seems outdated :-) http://java.sun.com/docs/hotspot/gc5.0/ergo5.html Why do you think it's outdated? What's described is what the current 5.0 code does. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Max Memory Reading
It seems to be contradicted by this document http://java.sun.com/j2se/1.5.0/docs/guide/vm/gc-ergonomics.html and by my experience of seeing a near 1GB heap with no -Xmx option set anywhere. It's a little on the confusing side! On Fri, 2006-10-13 at 09:31 -0500, Caldarale, Charles R wrote: From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Subject: Re: Max Memory Reading unfortunately google is not your friend in this case and the document seems outdated :-) http://java.sun.com/docs/hotspot/gc5.0/ergo5.html Why do you think it's outdated? What's described is what the current 5.0 code does. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Alan Flisch Senior Developer beCogent Ltd. www.beCogent.com T: +44 (0)1236 628 113 F: +44 (0)1236 628 101 E: [EMAIL PROTECTED] This e-mail and any accompanying documents contain confidential information intended for a specific individual which is private and protected by law. If you are not the intended recipient, any disclosure, copying, distribution or other use of this information is strictly prohibited. You are also requested to advise us immediately if you receive information which is not addressed to you. beCogent is Authorised and Regulated by the Financial Services Authority. *
RE: Max Memory Reading
From: Alan Flisch [mailto:[EMAIL PROTECTED] Subject: RE: Max Memory Reading It seems to be contradicted by this document http://java.sun.com/j2se/1.5.0/docs/guide/vm/gc-ergonomics.html and by my experience of seeing a near 1GB heap with no -Xmx option set anywhere. Maybe I'm confused by which doc Leon thought was outdated (the perils of doing top-posting). The doc referenced above matches the 5.0 code. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Max Memory Reading
The document Leon thought was outdated was this one - http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html#0.0.0.%20Total% 20Heap%7Coutline - which also relates to 5.0! I'm guessing from the evidence that this doc is simply wrong. Regards, Alan On Fri, 2006-10-13 at 09:41 -0500, Caldarale, Charles R wrote: From: Alan Flisch [mailto:[EMAIL PROTECTED] Subject: RE: Max Memory Reading It seems to be contradicted by this document http://java.sun.com/j2se/1.5.0/docs/guide/vm/gc-ergonomics.html and by my experience of seeing a near 1GB heap with no -Xmx option set anywhere. Maybe I'm confused by which doc Leon thought was outdated (the perils of doing top-posting). The doc referenced above matches the 5.0 code. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail and any accompanying documents contain confidential information intended for a specific individual which is private and protected by law. If you are not the intended recipient, any disclosure, copying, distribution or other use of this information is strictly prohibited. You are also requested to advise us immediately if you receive information which is not addressed to you. beCogent is Authorised and Regulated by the Financial Services Authority. *
Re: Max Memory Reading
On 10/13/06, Alan Flisch [EMAIL PROTECTED] wrote: The document Leon thought was outdated was this one - http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html#0.0.0.%20Total% 20Heap%7Coutline - which also relates to 5.0! I'm guessing from the evidence that this doc is simply wrong. yes thats the one. Maybe wrong is a too hard word, but thedefault 64 MB it talks about seem to be a special case not applicable as default :-) regards Leon Regards, Alan On Fri, 2006-10-13 at 09:41 -0500, Caldarale, Charles R wrote: From: Alan Flisch [mailto:[EMAIL PROTECTED] Subject: RE: Max Memory Reading It seems to be contradicted by this document http://java.sun.com/j2se/1.5.0/docs/guide/vm/gc-ergonomics.html and by my experience of seeing a near 1GB heap with no -Xmx option set anywhere. Maybe I'm confused by which doc Leon thought was outdated (the perils of doing top-posting). The doc referenced above matches the 5.0 code. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail and any accompanying documents contain confidential information intended for a specific individual which is private and protected by law. If you are not the intended recipient, any disclosure, copying, distribution or other use of this information is strictly prohibited. You are also requested to advise us immediately if you receive information which is not addressed to you. beCogent is Authorised and Regulated by the Financial Services Authority. * - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Max Memory Reading
is it a windows limitation or an intel x86 limitation? i.e., if i had installed linux or BSD instead of win 2000, would i have been better off memory management wise? joon On 10/13/06, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Andrew Miehs [mailto:[EMAIL PROTECTED] Subject: Re: Max Memory Reading Nope - the 32Bit JVM can only deal with about 1.5GB Ram That's a Windows, not JVM, limitation. The virtual memory setup is different on Solaris, so higher values are possible. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Max Memory Reading
From: joon yoo [mailto:[EMAIL PROTECTED] Subject: Re: Max Memory Reading is it a windows limitation or an intel x86 limitation? Windows, due to limiting an individual process' virtual space to 2 GB. (Some versions of Windows Server allow configuration of a 3 GB process space, but that option is not often used.) This 2 GB is usually somewhat fragmented due to DLLs being loaded in odd places; the JVM heap requires contiguous virtual space, so that's why the max heap size on Windows is around 1.5 GB. I don't know what virtual space BSD Linux allocates for each process, nor whether or not there are fragmentation issues with that space. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: max memory..
Im here again. It's a 32 bits OS Definely GC gonna take longer if has more to collect. -Original Message- From: anjan bacchu [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 05, 2006 6:20 PM To: Tomcat Users List Subject: Re: max memory.. can I move to 2048mb without any problem ? SURE, YES 4 GB RAM -- did you tune the BOOT.INI setting to use the /3GB setting so that the user process address space goes to 3 GB(from 2 GB default) ? related things for performance : are you using the APR extension ? how about tweaking the server.xml threads, max settings ? does your server use virtual memory ? I have seen better memory when no virtual memory is used. BR, ~A On 9/5/06, Asensio, Rodrigo [EMAIL PROTECTED] wrote: Hello guys tomcat 5517 java 1508 win 2003 server I have available 4 gb of ram memory into the server. My tomcat is running with 1024 mb right now. Before start to optimize my functions :D , can I move to 2048mb without any problem ? memory settings has always to be pow of 2 ? thanks Rodrigo --- Rodrigo Asensio Fuel Management Services Gilbarco Veeder Root phone: +1 336 547 5023 email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately. -- BR, Anjan Bacchu Summit Information Systems This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: max memory..
On a 32bit OS you will have no chance to get more than 1.2Gb. At least its what we have tested. leon On 9/6/06, Asensio, Rodrigo [EMAIL PROTECTED] wrote: Im here again. It's a 32 bits OS Definely GC gonna take longer if has more to collect. -Original Message- From: anjan bacchu [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 05, 2006 6:20 PM To: Tomcat Users List Subject: Re: max memory.. can I move to 2048mb without any problem ? SURE, YES 4 GB RAM -- did you tune the BOOT.INI setting to use the /3GB setting so that the user process address space goes to 3 GB(from 2 GB default) ? related things for performance : are you using the APR extension ? how about tweaking the server.xml threads, max settings ? does your server use virtual memory ? I have seen better memory when no virtual memory is used. BR, ~A On 9/5/06, Asensio, Rodrigo [EMAIL PROTECTED] wrote: Hello guys tomcat 5517 java 1508 win 2003 server I have available 4 gb of ram memory into the server. My tomcat is running with 1024 mb right now. Before start to optimize my functions :D , can I move to 2048mb without any problem ? memory settings has always to be pow of 2 ? thanks Rodrigo --- Rodrigo Asensio Fuel Management Services Gilbarco Veeder Root phone: +1 336 547 5023 email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately. -- BR, Anjan Bacchu Summit Information Systems This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: max memory..
I don't agree Our tomcat was working with 1440 mb as initial and max memory without problem. -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 06, 2006 9:06 AM To: Tomcat Users List Subject: Re: max memory.. On a 32bit OS you will have no chance to get more than 1.2Gb. At least its what we have tested. leon On 9/6/06, Asensio, Rodrigo [EMAIL PROTECTED] wrote: Im here again. It's a 32 bits OS Definely GC gonna take longer if has more to collect. -Original Message- From: anjan bacchu [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 05, 2006 6:20 PM To: Tomcat Users List Subject: Re: max memory.. can I move to 2048mb without any problem ? SURE, YES 4 GB RAM -- did you tune the BOOT.INI setting to use the /3GB setting so that the user process address space goes to 3 GB(from 2 GB default) ? related things for performance : are you using the APR extension ? how about tweaking the server.xml threads, max settings ? does your server use virtual memory ? I have seen better memory when no virtual memory is used. BR, ~A On 9/5/06, Asensio, Rodrigo [EMAIL PROTECTED] wrote: Hello guys tomcat 5517 java 1508 win 2003 server I have available 4 gb of ram memory into the server. My tomcat is running with 1024 mb right now. Before start to optimize my functions :D , can I move to 2048mb without any problem ? memory settings has always to be pow of 2 ? thanks Rodrigo --- Rodrigo Asensio Fuel Management Services Gilbarco Veeder Root phone: +1 336 547 5023 email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately. -- BR, Anjan Bacchu Summit Information Systems This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: max memory..
Runtime.getTotalMemory actually returns 2Gb? On 9/6/06, Asensio, Rodrigo [EMAIL PROTECTED] wrote: I don't agree Our tomcat was working with 1440 mb as initial and max memory without problem. -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 06, 2006 9:06 AM To: Tomcat Users List Subject: Re: max memory.. On a 32bit OS you will have no chance to get more than 1.2Gb. At least its what we have tested. leon On 9/6/06, Asensio, Rodrigo [EMAIL PROTECTED] wrote: Im here again. It's a 32 bits OS Definely GC gonna take longer if has more to collect. -Original Message- From: anjan bacchu [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 05, 2006 6:20 PM To: Tomcat Users List Subject: Re: max memory.. can I move to 2048mb without any problem ? SURE, YES 4 GB RAM -- did you tune the BOOT.INI setting to use the /3GB setting so that the user process address space goes to 3 GB(from 2 GB default) ? related things for performance : are you using the APR extension ? how about tweaking the server.xml threads, max settings ? does your server use virtual memory ? I have seen better memory when no virtual memory is used. BR, ~A On 9/5/06, Asensio, Rodrigo [EMAIL PROTECTED] wrote: Hello guys tomcat 5517 java 1508 win 2003 server I have available 4 gb of ram memory into the server. My tomcat is running with 1024 mb right now. Before start to optimize my functions :D , can I move to 2048mb without any problem ? memory settings has always to be pow of 2 ? thanks Rodrigo --- Rodrigo Asensio Fuel Management Services Gilbarco Veeder Root phone: +1 336 547 5023 email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately. -- BR, Anjan Bacchu Summit Information Systems This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: max memory..
No, right now I have set the memory to 1024 mb. getTotalMemory is returning that same value -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 06, 2006 9:27 AM To: Tomcat Users List Subject: Re: max memory.. Runtime.getTotalMemory actually returns 2Gb? On 9/6/06, Asensio, Rodrigo [EMAIL PROTECTED] wrote: I don't agree Our tomcat was working with 1440 mb as initial and max memory without problem. -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 06, 2006 9:06 AM To: Tomcat Users List Subject: Re: max memory.. On a 32bit OS you will have no chance to get more than 1.2Gb. At least its what we have tested. leon On 9/6/06, Asensio, Rodrigo [EMAIL PROTECTED] wrote: Im here again. It's a 32 bits OS Definely GC gonna take longer if has more to collect. -Original Message- From: anjan bacchu [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 05, 2006 6:20 PM To: Tomcat Users List Subject: Re: max memory.. can I move to 2048mb without any problem ? SURE, YES 4 GB RAM -- did you tune the BOOT.INI setting to use the /3GB setting so that the user process address space goes to 3 GB(from 2 GB default) ? related things for performance : are you using the APR extension ? how about tweaking the server.xml threads, max settings ? does your server use virtual memory ? I have seen better memory when no virtual memory is used. BR, ~A On 9/5/06, Asensio, Rodrigo [EMAIL PROTECTED] wrote: Hello guys tomcat 5517 java 1508 win 2003 server I have available 4 gb of ram memory into the server. My tomcat is running with 1024 mb right now. Before start to optimize my functions :D , can I move to 2048mb without any problem ? memory settings has always to be pow of 2 ? thanks Rodrigo -- - Rodrigo Asensio Fuel Management Services Gilbarco Veeder Root phone: +1 336 547 5023 email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately. -- BR, Anjan Bacchu Summit Information Systems This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents
RE: max memory..
Don't ask me why, but I tried in diferent servers putting 1440 MB, 1048 MB, 1076 MB and it works in one server and not in the other (all with the same hard and soft). The msg is . Cannot allocate that space in heap. -Original Message- From: Asensio, Rodrigo [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 06, 2006 10:26 AM To: Tomcat Users List Subject: RE: max memory.. No, right now I have set the memory to 1024 mb. getTotalMemory is returning that same value -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 06, 2006 9:27 AM To: Tomcat Users List Subject: Re: max memory.. Runtime.getTotalMemory actually returns 2Gb? On 9/6/06, Asensio, Rodrigo [EMAIL PROTECTED] wrote: I don't agree Our tomcat was working with 1440 mb as initial and max memory without problem. -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 06, 2006 9:06 AM To: Tomcat Users List Subject: Re: max memory.. On a 32bit OS you will have no chance to get more than 1.2Gb. At least its what we have tested. leon On 9/6/06, Asensio, Rodrigo [EMAIL PROTECTED] wrote: Im here again. It's a 32 bits OS Definely GC gonna take longer if has more to collect. -Original Message- From: anjan bacchu [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 05, 2006 6:20 PM To: Tomcat Users List Subject: Re: max memory.. can I move to 2048mb without any problem ? SURE, YES 4 GB RAM -- did you tune the BOOT.INI setting to use the /3GB setting so that the user process address space goes to 3 GB(from 2 GB default) ? related things for performance : are you using the APR extension ? how about tweaking the server.xml threads, max settings ? does your server use virtual memory ? I have seen better memory when no virtual memory is used. BR, ~A On 9/5/06, Asensio, Rodrigo [EMAIL PROTECTED] wrote: Hello guys tomcat 5517 java 1508 win 2003 server I have available 4 gb of ram memory into the server. My tomcat is running with 1024 mb right now. Before start to optimize my functions :D , can I move to 2048mb without any problem ? memory settings has always to be pow of 2 ? thanks Rodrigo -- - Rodrigo Asensio Fuel Management Services Gilbarco Veeder Root phone: +1 336 547 5023 email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately. -- BR, Anjan Bacchu Summit Information Systems This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED
Re: max memory..
are you using a 64bit version? If yes than the answer is yes. Otherwise its probably no :-) regards Leon On 9/5/06, Asensio, Rodrigo [EMAIL PROTECTED] wrote: Hello guys tomcat 5517 java 1508 win 2003 server I have available 4 gb of ram memory into the server. My tomcat is running with 1024 mb right now. Before start to optimize my functions :D , can I move to 2048mb without any problem ? memory settings has always to be pow of 2 ? thanks Rodrigo --- Rodrigo Asensio Fuel Management Services Gilbarco Veeder Root phone: +1 336 547 5023 email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: max memory..
There would be no adverse effect on garbage collection (i.e. longer GC times) when moving from max heap of 1gb to 4gb? -nikita Leon Rosenberg wrote: are you using a 64bit version? If yes than the answer is yes. Otherwise its probably no :-) regards Leon On 9/5/06, Asensio, Rodrigo [EMAIL PROTECTED] wrote: Hello guys tomcat 5517 java 1508 win 2003 server I have available 4 gb of ram memory into the server. My tomcat is running with 1024 mb right now. Before start to optimize my functions :D , can I move to 2048mb without any problem ? memory settings has always to be pow of 2 ? thanks Rodrigo --- Rodrigo Asensio Fuel Management Services Gilbarco Veeder Root phone: +1 336 547 5023 email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: max memory..
Hello, can I move to 2048mb without any problem ? Leon Rosenberg wrote: are you using a 64bit version? If yes than the answer is yes. Otherwise its probably no :-) Is this really just a 32 vs 64bit decision? What about garbage collection cycles? What about more than one instance of tomcat for the same application on the same machine (scaling somehow vertically)? Regards Boris - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: max memory..
I discovered no difference in performance between running 1 tomcat, or 4 tomcats on the one machine - same performance. The machine was a 4x Opteron 870 with 8GB RAM, running Java 1.5.6 32bit. Andrew Boris Unckel wrote: Hello, can I move to 2048mb without any problem ? Leon Rosenberg wrote: are you using a 64bit version? If yes than the answer is yes. Otherwise its probably no :-) Is this really just a 32 vs 64bit decision? What about garbage collection cycles? What about more than one instance of tomcat for the same application on the same machine (scaling somehow vertically)? Regards Boris - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: max memory..
Boris, search the archives, Chrales once gava a detailed answer on this topic. Short version: until you have 8 processors you shouldn't worry about the garbage collector. If you have 8 you should set the number of garbage collection threads accordingly. leon On 9/5/06, Boris Unckel [EMAIL PROTECTED] wrote: Hello, can I move to 2048mb without any problem ? Leon Rosenberg wrote: are you using a 64bit version? If yes than the answer is yes. Otherwise its probably no :-) Is this really just a 32 vs 64bit decision? What about garbage collection cycles? What about more than one instance of tomcat for the same application on the same machine (scaling somehow vertically)? Regards Boris - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: max memory..
can I move to 2048mb without any problem ? SURE, YES 4 GB RAM -- did you tune the BOOT.INI setting to use the /3GB setting so that the user process address space goes to 3 GB(from 2 GB default) ? related things for performance : are you using the APR extension ? how about tweaking the server.xml threads, max settings ? does your server use virtual memory ? I have seen better memory when no virtual memory is used. BR, ~A On 9/5/06, Asensio, Rodrigo [EMAIL PROTECTED] wrote: Hello guys tomcat 5517 java 1508 win 2003 server I have available 4 gb of ram memory into the server. My tomcat is running with 1024 mb right now. Before start to optimize my functions :D , can I move to 2048mb without any problem ? memory settings has always to be pow of 2 ? thanks Rodrigo --- Rodrigo Asensio Fuel Management Services Gilbarco Veeder Root phone: +1 336 547 5023 email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] This message (including any attachments) contains confidential and/or proprietary information intended only for the addressee. Any unauthorized disclosure, copying, distribution or reliance on the contents of this information is strictly prohibited and may constitute a violation of law. If you are not the intended recipient, please notify the sender immediately by responding to this e-mail, and delete the message from your system. If you have any questions about this e-mail please notify the sender immediately. -- BR, Anjan Bacchu Summit Information Systems