Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Allocating more memory for eclipse java virtual machine

Posted on 2010-11-24
3
Medium Priority
?
721 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 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A solution for Fortify Path Manipulation.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

886 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