Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 506997
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:45:32+00:00 2026-05-13T06:45:32+00:00

-Xms is to specify initial heap size or minimum heap size? I see differing

  • 0

-Xms is to specify initial heap size or minimum heap size?
I see differing viewpoints. Some like second answer here, say that it is for initial heap and some others say that it is minimum heap size.

Or is it that the minimum size itself is the initial size?

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T06:45:32+00:00Added an answer on May 13, 2026 at 6:45 am

    The initial heap size is the minimum heap size. It won’t get smaller than the initial heap size.

    From Tuning Garbage Collection with the 5.0 Java[tm] Virtual Machine:

    By default, the virtual machine grows
    or shrinks the heap at each collection
    to try to keep the proportion of free
    space to live objects at each
    collection within a specific range.
    This target range is set as a
    percentage by the parameters
    -XX:MinHeapFreeRatio= and -XX:MaxHeapFreeRatio=, and the total size is bounded below by
    -Xms and above by -Xmx .

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I see some strange behavior on the maximum heap size I get on Sun's
I can set the Java Heap Size minimum and maximum by passing the parameters
Asked in an interview. What happens if you specify max heap size (Xmx) greater
What is the benefit of setting the -Xms parameter, and having the initial memory
With the -Xms and -Xmx Options, it is possible to set the initial and
We're using XMS.Net to connect to a WebSphere MQ server V7; this has always
I am getting this error: Exception in thread main java.lang.OutOfMemoryError: Java heap space at
What is the default Xms and Xmx settings for the Sun JVM (v 1.4*)
I want to know how different values set for the Xmx, Xms, Xmn and
I need a regular for time format HH:MM am/pm. I found something like $time

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.