Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 724
  • Last Modified:

Allocating more memory for eclipse java virtual machine

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
Trying_to_Learn
Asked:
Trying_to_Learn
  • 2
1 Solution
 
sweetfa2Commented:
-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
 
sweetfa2Commented:
You might also want to add it to the Eclipse group
0
 
Trying_to_LearnAuthor Commented:
Thanks!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now