Thanks much, guys, for the replies.
We've arrived at the same conclusion that Scott suggests - a GB for the
heap and the other GB for the product (roughly) of the threads and the
stack size in our windows 32-bit environment.
Now it's an exercise in testing the actual -Xss size that we want to r
On Jan 8, 2009, at 5:23 PM, Rob Lockstone wrote:
> On Jan 8, 2009, at 13:52, Jay Ballinger wrote:
>
>> Hi everyone,
>>
>> We're running Resin 3.0.18 Pro on a Windows 32-bit system and we're
>> looking to understand/tune our memory settings a bit.
>>
>> According to http://www.caucho.com/resin-3.0
As you can see, it's all over the map, which is probably why: (1)
Caucho sets it explicitly (and to a very conservative value); (2) it's
always best to set the stack size yourself so you know what you're
getting; and (3) test it yourself with the value(s) you'd like to use
in the environmen
Rob Lockstone wrote:
>> (general sun jvm on windows questions)
>> - What is the default stack memory size?
>
> That's too general of a question. It depends on the OS, and (perhaps)
> the version of the OS.
I did this research a while ago, but seems relevant:
Default in Sun JDK 1.2 on un
On Jan 8, 2009, at 13:52, Jay Ballinger wrote:
> Hi everyone,
>
> We're running Resin 3.0.18 Pro on a Windows 32-bit system and we're
> looking to understand/tune our memory settings a bit.
>
> According to http://www.caucho.com/resin-3.0/performance/jvm-tuning.xtp
> the stack size is set to 2
Knut,
Thanks for the info.
Just a check on the math - if Win32 has a 2GB max addressable space,
that includes heap and stack and misc. overhead, right?
If we set resin heap to 1GB and allow each thread to use the 'default'
of 2048k, and we see the number of threads running at about 700, then w
On Thu, Jan 8, 2009 at 1:52 PM, Jay Ballinger wrote:
> - When a thread is created, does it grab all of the stack memory, or can
> the stack memory start small and grow to the default or -Xss size?
If I'm not mistaken the memory is allocated, but it is virtual memory,
so unless it is actually used
Hi everyone,
We're running Resin 3.0.18 Pro on a Windows 32-bit system and we're
looking to understand/tune our memory settings a bit.
According to http://www.caucho.com/resin-3.0/performance/jvm-tuning.xtp
the stack size is set to 2048k unless set otherwise. Is this true? In
using JConsole we