Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Optimizing thread stack size

843811Aug 2 2005 — edited Jan 16 2008
There seems to be general confusion around the actual behaviour of the -Xss option.

I need to optimise the thread stack size on Windows 2000 server running JVM 1.4.2 (07).

1. What is the actual minimum stack size for this JVM ? 1k, 6k, 64k ?

2. Do there exist any mechanism to measure the maximum value actually utilized by a particular application ?


The goal is simply to allocate the appropriate amount of stack space instead of guessing a safe value.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 13 2008
Added on Aug 2 2005
7 comments
889 views