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