Got it

What is XMS? Introduction to XMS parameters

Latest reply: Jul 11, 2022 07:20:54 589 23 18 0 2

Hello everyone, Today we will talk about one of the JVM (Java Virtual Machine) options XMS. I will introduce XMS parameters.

What is XMS?

XMS is used for setting the initial and minumum heap size(memory) when the program is started. Also XMS (minimum heap size) should be equal to XSS( maxiumum heap size)  in order not to exceed amount of  physical RAM available and for best performance. Also there is no value set for XMS by default.

Introduction to XMS Parameters

Use this syntax to settting the amount of memory the JVM :

-Xms<heap size>[unit] 

unit used for the unit  in which the heap size is to be initialized. Also units can be write as "g" for  GB , "m" for MB and "k" for KB.

For example,

 -Xms256m -Xmx2048m

This code means, JVM( Java Virtual Machine) initially will start with 256 MB of heap size (memory) because we indicated with Xms parameter 256 MB and will allow maximum 2048 MB of heap size(memory).



  • x
  • convention:

faysalji
Moderator Author Created Jul 6, 2022 23:41:03

Thanks for sharing
View more
  • x
  • convention:

atadmrl251
atadmrl251 Created Jul 6, 2022 23:41:49 (0) (0)
 
zaheernew
MVE Author Created Jul 7, 2022 04:44:21

Good one
View more
  • x
  • convention:

Farinaahmed
Created Jul 7, 2022 05:07:35

Perfect
View more
  • x
  • convention:

NTan33
Created Jul 7, 2022 05:14:07

Interesting to know.
View more
  • x
  • convention:

manpham
Created Jul 7, 2022 05:26:27

Thanks for sharing
View more
  • x
  • convention:

taha_29four
Created Jul 7, 2022 08:49:05

Well done my brother What is XMS? Introduction to XMS  parameters-5037605-1
View more
  • x
  • convention:

museee
Created Jul 7, 2022 12:39:40

Useful information about XMS
View more
  • x
  • convention:

osman123
Created Jul 7, 2022 12:40:11

good post
View more
  • x
  • convention:

talkaa
Created Jul 7, 2022 12:42:24

good to know
View more
  • x
  • convention:

12
Back to list

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.