Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Allocating more memory for eclipse java virtual machine

Posted on 2010-11-24
3
Medium Priority
?
717 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Build and deliver software with DevOps

A digital transformation requires faster time to market, shorter software development lifecycles, and the ability to adapt rapidly to changing customer demands. DevOps provides the solution.

Question has a verified solution.

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

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…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
This video teaches viewers about errors in exception handling.
The viewer will learn how to dynamically set the form action using jQuery.

715 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