java stack size and memory tuning
843811Nov 10 2003 — edited Nov 11 2003
I've seen conflicting info on the topic of the -Xss parameter and
stacksize management.
What does this parameter control exactly. Does it specify the native
stack size or the java stack size?
Does it specify the size of the stack for each thread within the vm or
does it specify the size of a single stack that all the threads use and
for which the vm does memory management on behalf of the threads?
What is the relationship between the stack(s) and the heap. Do they
exist in separate memory areas? I assume they compete with each other
for system memory resources - maybe not.
Sorry to be flinging what seem like fairly basic questions. If anyone
knows of a helpful white paper that explains runtime memory management
and tuning approaches that would be great.