Improve company productivity with a Business Account.Sign Up

x
?
Solved

eclipse - expand jvm memory

Posted on 2006-11-04
5
Medium Priority
?
323 Views
Last Modified: 2012-06-27
i need to expand the memory available to my java apps.
i'm currently executing them from eclipse; so how can i apply the -Xmx / -Xms flags from here?

thanks
0
Comment
Question by:InteractiveMind
  • 2
  • 2
5 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 17873828
You can add the JVM args in the Run configuration in Eclipse, but in fact setting the options in question is only done to *restrict* memory consumption. Memory consumption will otherwise expand as necessary
0
 
LVL 25

Author Comment

by:InteractiveMind
ID: 17873842
I keep running into memory problems with one of my apps; so I figured that expanding the mem would solve it..?

either way, where is the run configuration exactly? lol I can't see it...
0
 
LVL 86

Accepted Solution

by:
CEHJ earned 1000 total points
ID: 17873868
Right-click the main class and you should see it
0
 
LVL 10

Expert Comment

by:mbvvsatish
ID: 17873935
is it your application that runs out of memory or the eclipse itself runs out of memory.
0
 
LVL 25

Author Comment

by:InteractiveMind
ID: 17876611
Sorted, thanks.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

595 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