RE: Max Memory Reading

2006-10-13 Thread Caldarale, Charles R
> 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 proces

Re: Max Memory Reading

2006-10-13 Thread joon yoo
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 P

Re: Max Memory Reading

2006-10-13 Thread Leon Rosenberg
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. >

RE: Max Memory Reading

2006-10-13 Thread Alan Flisch
-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 s

RE: Max Memory Reading

2006-10-13 Thread Caldarale, Charles R
> 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 >

RE: Max Memory Reading

2006-10-13 Thread Alan Flisch
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 > &

RE: Max Memory Reading

2006-10-13 Thread Caldarale, Charles R
> 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? Wh

RE: Max Memory Reading

2006-10-13 Thread Caldarale, Charles R
> 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 o

RE: Max Memory Reading

2006-10-13 Thread Caldarale, Charles R
> 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 ancil

RE: Max Memory Reading

2006-10-13 Thread Caldarale, Charles R
> 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 T

Re: Max Memory Reading

2006-10-13 Thread Alan Flisch
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 hamme

Re: Max Memory Reading

2006-10-13 Thread Leon Rosenberg
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 phys

Re: Max Memory Reading

2006-10-13 Thread Leon Rosenberg
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 F

Re: Max Memory Reading

2006-10-13 Thread Christopher Schultz
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 6

Re: Max Memory Reading

2006-10-13 Thread Andrew Miehs
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

Re: Max Memory Reading

2006-10-13 Thread Alan Flisch
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 y

Re: Max Memory Reading

2006-10-13 Thread Leon Rosenberg
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.

Re: Max Memory Reading

2006-10-13 Thread Alan Flisch
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 PROTECTE

Re: Max Memory Reading

2006-10-13 Thread Leon Rosenberg
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,

Re: Max Memory Reading

2006-10-13 Thread Alan Flisch
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 in

Re: Max Memory Reading

2006-10-13 Thread Leon Rosenberg
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

Re: Max Memory Reading

2006-10-13 Thread Alan Flisch
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 chec

Re: Max Memory Reading

2006-10-13 Thread Pascal Alberty
/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 v

Re: Max Memory Reading

2006-10-13 Thread Alan Flisch
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. > >

Re: Max Memory Reading

2006-10-13 Thread Lintang JP
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 t

Re: max memory..

2006-09-06 Thread anjan bacchu
-- 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

RE: max memory..

2006-09-06 Thread Asensio, Rodrigo
ECTED] 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

RE: max memory..

2006-09-06 Thread Asensio, Rodrigo
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

Re: max memory..

2006-09-06 Thread Leon Rosenberg
, 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 > >

RE: max memory..

2006-09-06 Thread Asensio, Rodrigo
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 ha

Re: max memory..

2006-09-06 Thread Leon Rosenberg
njan 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

RE: max memory..

2006-09-06 Thread Asensio, Rodrigo
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 pr

Re: max memory..

2006-09-05 Thread anjan bacchu
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.xm

Re: max memory..

2006-09-05 Thread Leon Rosenberg
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 PR

Re: max memory..

2006-09-05 Thread Andrew Miehs
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 wro

Re: max memory..

2006-09-05 Thread Boris Unckel
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 fo

Re: max memory..

2006-09-05 Thread Nikita Tovstoles
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 PR

Re: max memory..

2006-09-05 Thread Leon Rosenberg
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