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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:09:25+00:00 2026-05-26T04:09:25+00:00

I want to run a memory intensive package on a web server. Current computer’s

  • 0

I want to run a memory intensive package on a web server.

Current computer’s settings are…
Windows 7 64 bit
64-bit JVM
RAM: 8GB

When I try to run eclipse with
-Xms1024m -Xmx2048m -XX:MaxPermSize=256m

I get:

Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

From posts that I read, it seems like I should be able to use more than 4GB of memory.
When I ran the code, I was able to max out the memory at -Xmx1200M and still be able to run the code. But for what I want to accomplish, I need to use more memory. How can I increase the memory size here?


Thank you everyone. The issue was that I was using a 32-bit version of JDK. I was able to run memory at 2GB after switching the JDK to the 64 bit version. Thanks!

  • 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-26T04:09:26+00:00Added an answer on May 26, 2026 at 4:09 am

    The problem was that I was using a 32-bit version of JDK.

    Thank you, and thank you to Mister Smith for pointing out that I should answer it and mark it as solved.

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

Sidebar

Related Questions

I want to run a CI Jenkins server on Amazon EC2 on Windows 2008.
I want to run an executable and limit its memory and time usage. Of
I'm running Mac OS 10.6. I want to run top to get memory usage,
I want to run a web application on php and mysql, using the CakePHP
I have a few time-consuming and (potentially) memory-intensive functions in my LAMP web application.
i want to run a php program constantly in the server which would download
I want to run my applet on web application, but i got some error
I want to move my program to USB memory stick. It will run only
I want to run a small PostgreSQL database which runs in memory only, for
I want run a script as follows: runner: ssh 'java program &' ssh 'java

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.