Thursday, May 9, 2013

Startup parameters of JVM and stacksize

Display all startup parameters:

>java -XX:+PrintFlagsFinal

This display all the startup parameters in the console.



To display the process ID:

C:\Users\kh1205>jps
3596
6616 Jps
1720 Main

Finding stack size:


C:\Users\kh1205>jinfo -flag ThreadStackSize  1720
-XX:ThreadStackSize=4096


4096 represents stack size in KB = 4 MB, which i have configured through 
-Xss4096K in VM arguments.



No comments:

Post a Comment