[OT] RE: Making the most of 8G of RAM

2008-03-18 Thread Peter Crowther
From: brien colwell [mailto:[EMAIL PROTECTED] Any program that needs 8gb of RAM to run seems suspect. Large amounts of data should be abstracted through the filesystem and dealt with as files. I have several programs that will cheerfully use 8G, or more, of RAM. In general, they are large

RE: Making the most of 8G of RAM

2008-03-18 Thread Peter Crowther
From: Stephen Nelson-Smith [mailto:[EMAIL PROTECTED] I have a new machine with 8G of RAM, running a 32 bit 2.6 kernel (CentOS 5). It is running an application inside 4.1.37 with Java 1.4.2. [...] What's the best way to make to most of the RAM? 1) 64-bit OS. 2) 64-bit JVM. 3) Newer Tomcat.

Re: Making the most of 8G of RAM

2008-03-18 Thread Mark H. Wood
On Mon, Mar 17, 2008 at 11:16:49PM +, Stephen Nelson-Smith wrote: I plan to test running with a newer JVM shortly. I have been told by the developers that the application needs to run under 1.4.2. Whatever they mean by that. If they mean, needs 1.4.2 or newer, that's quite reasonable and

Re: [OT] RE: Making the most of 8G of RAM

2008-03-18 Thread Mark H. Wood
Don't forget to leave some space for the OS' buffer cache. If your app.s do a lot of I/O then they can benefit a great deal from having the most commonly accessed storage blocks cached all the time. W.r.t. Tomcat tuning this means you don't try to use up all of physical memory with Tomcat

Making the most of 8G of RAM

2008-03-17 Thread Stephen Nelson-Smith
Hi, I have a new machine with 8G of RAM, running a 32 bit 2.6 kernel (CentOS 5). It is running an application inside 4.1.37 with Java 1.4.2. Given that we only have a 32 bit address space, is it fair to say that I can't use more than 2G of RAM for my Java virtual machine? I tried to prove this

Re: Making the most of 8G of RAM

2008-03-17 Thread David Delbecq
Stephen Nelson-Smith a écrit : Hi, I have a new machine with 8G of RAM, running a 32 bit 2.6 kernel (CentOS 5). It is running an application inside 4.1.37 with Java 1.4.2. Given that we only have a 32 bit address space, is it fair to say that I can't use more than 2G of RAM for my Java

RE: Making the most of 8G of RAM

2008-03-17 Thread Caldarale, Charles R
From: Stephen Nelson-Smith [mailto:[EMAIL PROTECTED] Subject: Making the most of 8G of RAM Given that we only have a 32 bit address space, is it fair to say that I can't use more than 2G of RAM for my Java virtual machine? Most 32-bit Linux systems will give you 3GB of virtual space (not

Re: Making the most of 8G of RAM

2008-03-17 Thread Stephen Nelson-Smith
On Mon, Mar 17, 2008 at 10:53 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: but so far I've not seen memory usage go over 1G. There is (or at least was) a bug in the Sun 1.4.2 JVM that didn't do the arithmetic right when heap sizes were over 2GB due to treating some unsigned values

RE: Making the most of 8G of RAM

2008-03-17 Thread Caldarale, Charles R
From: Stephen Nelson-Smith [mailto:[EMAIL PROTECTED] Subject: Re: Making the most of 8G of RAM I plan to test running with a newer JVM shortly. I have been told by the developers that the application needs to run under 1.4.2. We shall see. Unless the app uses the keyword enum or the

Re: Making the most of 8G of RAM

2008-03-17 Thread brien colwell
If one of your webapps could use a faster database or filesystem, you might look into using a ramdisk. Any program that needs 8gb of RAM to run seems suspect. Large amounts of data should be abstracted through the filesystem and dealt with as files. On Mon, Mar 17, 2008 at 4:21 PM, Caldarale,

Re: Making the most of 8G of RAM

2008-03-17 Thread Stephen Nelson-Smith
On Mon, Mar 17, 2008 at 11:21 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Stephen Nelson-Smith [mailto:[EMAIL PROTECTED] How about running eg 3 x xen vms? The machine seems rarely pushed for CPU, and with 3 vms I could load balance across them. Why bother with xen? If you

Re: Making the most of 8G of RAM

2008-03-17 Thread Filip Hanik - Dev Lists
there is a recorded webinar called Inside the Java Virtual Machine http://www.covalent.net/services/training/webinars.html it's one hour spent demystifying all you need to know about the JVM memory usage, once you've understood that, you'll have a very different perspective on -Xmx Filip