Why Is the Allocated Memory Greater Than the Preset Maximum Memory on the JVM Monitoring Page?
JVM uses the dynamic memory allocation mechanism. The amount of memory to be allocated must be a multiple of 2. Even if the minimum memory, -Xms is configured, JVM may not allocate the minimum amount of memory at the beginning. In some cases, the allocated memory may slightly exceed the maximum memory, -Xmx. To solve the problem, configure -XX:+AlwaysPretouch to prevent dynamic heap memory allocation.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot