Solved

eclipse - expand jvm memory

Posted on 2006-11-04
5
312 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 250 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
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 …

919 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

21 Experts available now in Live!

Get 1:1 Help Now