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

  • SEARCH
  • Home
  • 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 6896741
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:04:55+00:00 2026-05-27T07:04:55+00:00

What are the default values for the following options in Java 6 on a

  • 0

What are the default values for the following options in Java 6 on a non-server-class machine?

  • -Xmx
  • -XX:MaxPermSize

Oracle’s documentation states that:

On server-class machines running the server VM, the garbage collector (GC) has changed from the previous serial collector (-XX:+UseSerialGC) to a parallel collector (-XX:+UseParallelGC).

and

On server-class machines running either VM (client or server) with the parallel garbage collector (-XX:+UseParallelGC) the initial heap size and maximum heap size have changed

The page doesn’t describe the defaults for non-server-class machines, only that, for example, the initial heap size is “a reasonable minimum”. Looking at the ‘man page’ for the java command there is the following against -Xms:

The default value is chosen at runtime based on system configuration

  • 1 1 Answer
  • 0 Views
  • 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-27T07:04:55+00:00Added an answer on May 27, 2026 at 7:04 am

    Default values for JDK 1.6.0_29 on Windows 7/32-bit:

    -Xmx256m
    -XX:MaxPermSize=64m
    

    Also value of these option can be printed by following command:

    java -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions -XX:+PrintFlagsFinal -version 2>&1
    

    Then look for MaxHeapSize and MaxPermSize keys and see default values.

    uintx InitialHeapSize                          := 199947456       {product}
    uintx MaxHeapSize                              := 268435456       {product}           
    uintx MaxPermSize                               = 67108864        {pd product}        
    

    Here is the Ultimate HotSpot VM Options Cheat Sheet with defaults and descriptions for last 5 versions of JDK (7, 8, 9, 10 & 11).

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

Sidebar

Related Questions

I've got a quick question about default values in PL/SQL functions in Oracle. Take
I inherited a system that stores default values for some fields in some tables
I'd like to remove all default values that have been setup in a particular
What is the default values for members of a struct and members of a
Are there any implications to using default values, such as empty strings, when inserting
How can I have a localized default values in the Settings bundle? I encounter
I have some questions about the default values in a function parameter list Is
Should I frequently rely on default values? For example, in PHP, if you have
In Symfony how to set default values to sfWidgetFormDateRange from action
I have the following drop down: <select name=chooseLanguage> <option>Choose One</option> <option value=java>Java</option> <option value=php>PHP</option>

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.