?
Solved

eclipse - expand jvm memory

Posted on 2006-11-04
5
Medium Priority
?
318 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
[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
  • 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.

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

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
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 …
Suggested Courses
Course of the Month15 days, 10 hours left to enroll

743 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