Considering the following command line
java -Xms128m -Xms256m myapp.jar
Which settings will apply for JVM Minimum memory (Xms option) : 128m or 256m ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Depends on the JVM, perhaps the version…perhaps even how many paper clips you have on your desk at the time. It might not even work. Don’t do that.
If it’s out of your control for some reason, compile and run this the same way you’d run your jar. But be warned, relying on the order of the options is a really bad idea.