I'm trying to verify if Java stack size is fixed (set at the beginning) or limited (grows to a certain limit). I'm trying to measure this with a simple program that creates a certain amount of threads (with set Xss) but so far I only discovered that RSS is per process and for obvious reasons knowing heap size is meaningless here.