Solved

eclipse - expand jvm memory

Posted on 2006-11-04
5
311 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
Comment Utility
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
Comment Utility
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 250 total points
Comment Utility
Right-click the main class and you should see it
0
 
LVL 10

Expert Comment

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

Author Comment

by:InteractiveMind
Comment Utility
Sorted, thanks.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
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…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
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 …

763 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now