Got it

XMX, XMS and XSS in JVM

Created: Apr 30, 2022 22:32:08Latest reply: Apr 30, 2022 22:49:24 199 1 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

What's the difference between XMX, XMS and XSS in JVM?


  • x
  • convention:

Featured Answers
wissal
MVE Created Apr 30, 2022 22:49:24

Hello,

Xss refers to setting the stack size of each thread. This depends on your program, how much memory a thread needs to occupy, how many threads may be running at the same time, etc.

1. -XMS indicates the memory allocated during JVM startup. For example, Xms200m indicates that 200 MB is allocated.

2. -XMX indicates the maximum memory allocated during JVM running. For example, -Xms500m indicates that the JVM process can occupy a maximum of 500 MB memory.

3. -XSS Memory size allocated to each thread started by the JVM.

Hope this helps
Thanks
View more
  • x
  • convention:

All Answers
wissal
wissal MVE Created Apr 30, 2022 22:49:24

Hello,

Xss refers to setting the stack size of each thread. This depends on your program, how much memory a thread needs to occupy, how many threads may be running at the same time, etc.

1. -XMS indicates the memory allocated during JVM startup. For example, Xms200m indicates that 200 MB is allocated.

2. -XMX indicates the maximum memory allocated during JVM running. For example, -Xms500m indicates that the JVM process can occupy a maximum of 500 MB memory.

3. -XSS Memory size allocated to each thread started by the JVM.

Hope this helps
Thanks
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.