RE: MaxPermSize, Tomcat startup trouble

2009-05-28 Thread Henjo
Caldarale, Charles R wrote: It's also irrelevant. The heap size (-Xmx + -XX:MaxPermSize) must fit in a contiguous area of virtual memory within the process. On a 32-bit Windows system, the process space is 2 GB, unfortunately very fragmented by DLLs that Windows insists on scattering

RE: MaxPermSize, Tomcat startup trouble

2009-05-28 Thread Peter Crowther
From: Henjo [mailto:henj...@gmail.com] Thank you both for replying. The architecture is indeed x86 (Windows 2003 server) and changing OS is not an option right now (going live soon). The alternative view: You can go live with a known-unreliable system, or you can change OS and go live with a

RE: MaxPermSize, Tomcat startup trouble

2009-05-28 Thread Jeffrey Janner
instantiated). Jeff -Original Message- From: Peter Crowther [mailto:peter.crowt...@melandra.com] Sent: Thursday, May 28, 2009 4:03 AM To: 'Tomcat Users List' Subject: RE: MaxPermSize, Tomcat startup trouble By the way, there's one other thing you *could* try if you had to reduce memory usage. I

RE: MaxPermSize, Tomcat startup trouble

2009-05-28 Thread Jeffrey Janner
Any ideas how we can get a much larger PermSpace going? I believe there are some java options that control how the memory is divided between the different generations. I seem to remember a ratio option that you could look into. I had to do this for one implementation. Check the java

RE: MaxPermSize, Tomcat startup trouble

2009-05-28 Thread Caldarale, Charles R
From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject: RE: MaxPermSize, Tomcat startup trouble I believe there are some java options that control how the memory is divided between the different generations. Not for PermGen - its size is controlled explicitly. It's not really

RE: MaxPermSize, Tomcat startup trouble

2009-05-28 Thread Jeffrey Janner
Users List Subject: RE: MaxPermSize, Tomcat startup trouble From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject: RE: MaxPermSize, Tomcat startup trouble I believe there are some java options that control how the memory is divided between the different generations

RE: MaxPermSize, Tomcat startup trouble

2009-05-28 Thread Jeffrey Janner
:09 AM To: Tomcat Users List Subject: RE: MaxPermSize, Tomcat startup trouble From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject: RE: MaxPermSize, Tomcat startup trouble I believe there are some java options that control how the memory is divided between the different

MaxPermSize, Tomcat startup trouble

2009-05-27 Thread Henjo
We are currently trying to get a Tomcat 6.0 server running, with Sun JDK 16.0_10. OS is Windows 2003. This Tomcat server will hold about 20 contexts, each ranging from 50-100Mb (mostly libs + jsps). Quite large, so it needs some memory adjustments. If we don't, we get the following exception:

RE: MaxPermSize, Tomcat startup trouble

2009-05-27 Thread Caldarale, Charles R
From: Henjo [mailto:henj...@gmail.com] Subject: MaxPermSize, Tomcat startup trouble AFAIK the PermSpace holds all compiled java classes (and jsps) in RAM. No; it holds the java.lang.Class instances that represent the loaded classes (including JSPs). Size of a class file on disk has

RE: MaxPermSize, Tomcat startup trouble

2009-05-27 Thread Peter Crowther
From: Henjo [henj...@gmail.com] OS is Windows 2003. x86 or x64? Available RAM is 3.5Gb on the machine, so that's not a problem. I assume x86 from that sizing. As Chuck points out, you won't get the space you want given Windows' appalling memory use. Any ideas how we can get a much larger