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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T14:11:31+00:00 2026-06-02T14:11:31+00:00

I have a following problem. When I try to raise memory for JVM in

  • 0

I have a following problem. When I try to raise memory for JVM in eclipse.ini file, I always get Could not create Java Virtual Machine exception.

My current memory settings are

-Xms1024m
-Xmx1024m
-Xmn256m
-Xss2m

And I would like to raise them to

-Xms2048m 
-Xmx2048m
-Xmn512m
-Xss2m

I am running on 32-bit Java, JDK 1.6. I have a 64-bit machine with 12GB of memory. The reason I am not using a 64-bit Java is that we have encountered some problemes during develepment of our apps, so we switched back to 32-bit one.

Thanks a lot for advices.

EDIT

Ok, so here is my stack trace, it occurs when I try to run Eclipse. Also notice that I have Xms parameter set only to 512M but it works when it’s set to 1024M, but it seems too much for one (even big) web app.

enter image description here

  • 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-02T14:11:32+00:00Added an answer on June 2, 2026 at 2:11 pm

    For one thing, you should never set your Xms to the same amount as Xmx because this will effectively cause the garbage collector to never run until your Java VM memory is completely used up. Set Xmx to the maximum memory you want to allocate to the Java applications and VM, and Xms to the maximum amount of memory the VM should use without bothering too much to garbage collect. You may find this will solve your problem.

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

Sidebar

Related Questions

Dear Expert i have the following problem when i try to get the value
I have the following problem and whatever I try, nothing helps. I hope someone
I have the following Problem: I create a custom control which inherits from an
I have the following problem, will try to describe it shortly. In my program
I have following problem: I have div containing other elements and I try to
I have following problem and only could solve it partially yet. I am working
I have the following problem: In my macro, I select a range and try
I have the following problem .. I am using StackLayoutPanel and when I try
I have following problem: I have built a tabbar application with 4 tabs. I
I have following problem, Code: String a=Yeahh, I have no a idea what's happening

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.