Solved

Allocating more memory for eclipse java virtual machine

Posted on 2010-11-24
3
711 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
ID: 34210080
-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
ID: 34210083
You might also want to add it to the Eclipse group
0
 

Author Closing Comment

by:Trying_to_Learn
ID: 34210176
Thanks!
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
PHP Soap Server returning XML but < & > as &lt; / &gt; 9 49
Inserting data into database 10 36
spring maven example issues 3 11
Java class and jar 3 25
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

828 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