increase eclipse heap size

Posted on 2007-08-07
Last Modified: 2013-11-05
I know about the use of -Xmx for increasing jvm heap size.

when I launch eclipse, it is launched by simply clicking the eclipse application. No java is called. how do I apply the jvm parameters in this case?
Question by:bhomass
    LVL 14

    Accepted Solution

    In eclipse.ini, in the same directory as eclipse.exe, you can specify parameters to pass to the Java VM. My eclipse.ini contains stuff like this:


    Author Comment


    windows exporer says it is a configuration setting file. I did not realize that is a .ini file. I thought .ini has been abandoned.
    LVL 23

    Expert Comment

    Or you can create a shortcut to the actual eclipse.exe and add the following in the target:

    "D:\Program Files\eclipse\eclipse.exe" -jvm -Xmx256m

    Here the max memory would be 256M

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Live - One-on-One Java Help from Top Experts

    Solve your toughest problems, fast.
    Java experts are online now and ready to help you.

    For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
    Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
    Video by: Michael
    Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
    This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now