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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T13:26:08+00:00 2026-06-08T13:26:08+00:00

I need to run my program in eclipse and i was hoping to speed

  • 0

I need to run my program in eclipse and i was hoping to speed up the process by increasing the memory size of eclipse but i’m confused about which settings to use.

this is my system:

  Model Name:   MacBook Air
  Model Identifier: MacBookAir3,2
  Processor Name:   Intel Core 2 Duo
  Processor Speed:  1.86 GHz
  Number of Processors: 1
  Total Number of Cores:    2
  L2 Cache: 6 MB
  Memory:   4 GB
  Bus Speed:    1.07 GHz

and this is my current eclipse .ini:

-startup
../../../plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx_1.1.101.v20120109-1504
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-XX:MaxPermSize=512m
-Xms1536m
-Xmx1536m
-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts

What should I use at XX, Xms and Xmx?

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-06-08T13:26:10+00:00Added an answer on June 8, 2026 at 1:26 pm

    use those

    -server -Xms3g -Xmx3g -Xmn1g -XX:MaxPermSize=256M -XX:ReservedCodeCacheSize=256m – XX:ThreadStackSize=2048
    -XX:+HeapDumpOnOutOfMemoryError
    -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseFastAccessorMethods
    -XX:CMSInitiatingOccupancyFraction=85 -XX:+UseCMSInitiatingOccupancyOnly
    -XX:+CMSClassUnloadingEnabled -XX:+CMSParallelRemarkEnabled
    -XX:+UseNUMA -XX:-UseBiasedLocking -XX:+UseTLAB -XX:+DoEscapeAnalysis -XX:+UseCompressedOops -XX:+TieredCompilation -XX:+OptimizeStringConcat -XX:+AlwaysPreTouch

    That’s it)

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

Sidebar

Related Questions

I can't run the java program in the CMD,but it's OK in the eclipse.
Suppose you need to run a program on the world’s fastest supercomputer which will
I've downloaded Eclipse C/C++ IDE . I need to run a simple c program
My small program runs fine in Eclipse but it won't run after exporting and
I need to run a program - probably for a couple of days. I
I need to run this line from my c++ program: java -jar test.jar text1
I have a legacy program that I need to run with the extension of
I need to prepare some input data to run through a program, the data
I want to run my client program 25,000 times. I need to create a
I am writing a program that needs to run a java.jar server. I need

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.