I have a java program, which i ran and figured out its process id with jps.
How can i see what is the value of -Xms and -Xmx variable for this java process ?
Try
jcmd <PID> VM.command_line jcmd <PID> VM.flags