Solved

Allocating more memory for eclipse java virtual machine

Posted on 2010-11-24
3
703 Views
Last Modified: 2012-05-10
Hi,

I am using eclipse and working with a program that stores a lot of the information in memory. My laptop has 4Gigs of RAM but eclipse is only using 356MB's

I tried changing the arguments to allocate higher memory but ecliple fails to load the JDM.

Any solutions??
0
Comment
Question by:Trying_to_Learn
  • 2
3 Comments
 
LVL 17

Accepted Solution

by:
sweetfa2 earned 500 total points
Comment Utility
-Xmx1024m

should give you a gig.

You don't say if the program is being run as a developed program or part of eclipse.

If it is being run as a developed program, in the run configurations you have the option to add VM arguments as above to allocate more memory to the started process.


vmconfig.png
0
 
LVL 17

Expert Comment

by:sweetfa2
Comment Utility
You might also want to add it to the Eclipse group
0
 

Author Closing Comment

by:Trying_to_Learn
Comment Utility
Thanks!
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

762 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

8 Experts available now in Live!

Get 1:1 Help Now