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 8608095
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T03:31:33+00:00 2026-06-12T03:31:33+00:00

I am running this version of Java: java version 1.7.0_07 Java(TM) SE Runtime Environment

  • 0

I am running this version of Java:

java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)

I am running this on a Windows 2008 R2 64-bit server on Amazon EC2, in an m1.large instance that has 7.5GB of memory.

When I start my Java app, I am using this command line:

java -Xms6G -Xmx6G -server -jar start.jar

My intent is to have Java reserve 6GB for it’s heap, so that when my application runs, it will be able to load its entire dataset into memory.

However, when I start the app, I only see 1.3GB of memory used in Task Manager?

  • 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-06-12T03:31:35+00:00Added an answer on June 12, 2026 at 3:31 am

    The issue is you’re looking at the default memory column shown in Task Manager, which is “Memory – Private Working Set.” This doesn’t reflect what is actually reserved for use.

    In Task Manager, go to the View menu and choose Select Columns. Add the “Memory – Commit Size” column. You should see this column reflects the reserved heap size from Java. In my tests, it shows around 6.6GB committed for a commandline of -Xms6G.

    Here is Microsoft’s page that explains what each column means.

    “Memory – Private Working Set: Subset of working set that specifically describes the amount of memory a process is using that cannot be shared by other processes.”

    “Memory – Commit Size: Amount of virtual memory that is reserved for use by a process.”

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

Sidebar

Related Questions

I am on Ubuntu x64 bit running: java version 1.6.0_18 OpenJDK Runtime Environment (IcedTea6
I'm using this Java version: java version 1.6.0_24 OpenJDK Runtime Environment (IcedTea6 1.11.3) (suse-9.1-x86_64)
I get this error on my UNIX server, when running my java server: Exception
I am running g++(gcc version 3.4.4) on cygwin. I can't get this small snippet
Im running this query on the same server as the web application, so SPQuery.ExpandRecurrence
Server: jboss-5.1.0 Java Version: jdk1.6.0_14 Deployment Method: ant v1.7 Error: 08:40:04,260 WARN [ZipEntryContext] IGNORING:
I have problem running a Java RCP application via Java Webstart. This works for
I'm running on ubuntu 12.04 and when I put in the terminal java -version
Running this program is printing forked! 7 times. Can someone explain how forked! is
Running this query takes a long time: SELECT host,ip FROM arecords WHERE ip IN

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.