I am new to JMX .I am going through JMX and found that we can use JMX agent to manage/monitor my application , but here I have a question . Can we use JMX for JVM configuration like increase in heap size etc.
Any body has idea?
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.
The maximum heap size is allocated when the JVM starts up. It cannot be changed while running (as it has to be reserved in advance)
You can use JMX to configure other parameters. A common choice is to change logging levels for example.