Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / August 2003

Tip: Looking for answers? Try searching our database.

Eclipse JVM settings

Thread view: 
Ye Zhou - 02 Aug 2003 21:48 GMT
Hi,

I was wondering whether I could set JVM heap options like -mMx -mMs
somewhere in Eclipse workbench. My program is getting like
OutOfMemoryError and that's my favorite way to work around this.

Thanks,
=Ye
Wismerhill - 06 Aug 2003 13:50 GMT
> Hi,
>
> I was wondering whether I could set JVM heap options like -mMx -mMs
> somewhere in Eclipse workbench. My program is getting like
> OutOfMemoryError and that's my favorite way to work around this.

Add -vmargs -Xmx256m -Xms64m to the command line.
Wismerhill - 06 Aug 2003 14:19 GMT
>> Hi,
>>
[quoted text clipped - 3 lines]
>
> Add -vmargs -Xmx256m -Xms64m to the command line.

I mean, the command line to launch eclipse. If you speack about the JVM that
runs your prog, just add the arguments in the Arguments tab of the Run
Configuration.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.