Originally posted by Silvia Wong:
You are saying -Xss and -Xmx is merely a program memory, then how we determine our total JVM memory that allocate to our program?
Thanks.
You can determine the total memory used by the JVM with -Xms and -Xmx. Only 1 program can run in a jvm at a time so all this memory is being used by your program's processes + JVM processes (garbage collection , etc.)
JVM memory will be divided into stack and heap memory on Sun JVMs. If you think you need bigger stacks you can configure that. What are you trying to do? If anything
you should increase your -Xmx. If your running a server increase you -Xms to match your -Xmx and turn on the incremental GC. You dont need to mess with the stack unless you are doing some shady sequential style coding, such as recursive functions.
[ August 10, 2005: Message edited by: CL Gilbert ]