Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » using -Xms and -Xmx
using -Xms and -Xmx [message #44309] Sun, 02 February 2003 18:01 Go to next message
Eclipse UserFriend
Originally posted by: gprego.netvision.net.il

In my application - running on eclipse 2.0.2 I'm getting a
java.lang.outOfMemoryError.

I want to try and use the java flags :

-Xms<size> set initial Java heap size
-Xmx<size> set maximum Java heap size

How should I do it through eclipse project ? and to what values should I
set them ?

Thank's
Re: using -Xms and -Xmx [message #44340 is a reply to message #44309] Sun, 02 February 2003 19:21 Go to previous messageGo to next message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
These types of questions are better asked on eclipse.tools but...
you can pass these arguments through to the vm using -vmargs
e.g. -vmArgs -Xmx380M

The values you set them to depend on the specifications of the system you
are working on.
Most of the posts I have seen talk about setting the max heap size to at
least 256M

HTH
Darins

"Lilach " <gprego@netvision.net.il> wrote in message
news:b1jmdi$jri$1@rogue.oti.com...
> In my application - running on eclipse 2.0.2 I'm getting a
> java.lang.outOfMemoryError.
>
> I want to try and use the java flags :
>
> -Xms<size> set initial Java heap size
> -Xmx<size> set maximum Java heap size
>
> How should I do it through eclipse project ? and to what values should I
> set them ?
>
> Thank's
>
>
Re: using -Xms and -Xmx [message #44372 is a reply to message #44309] Sun, 02 February 2003 20:02 Go to previous message
Eclipse UserFriend
Originally posted by: mkl.inter.net.il

You can specify this kind of options in the launch configuration of your
application. See attached example. Of course, 512M memory is not enough for
every application.

"Lilach " <gprego@netvision.net.il> wrote in message
news:b1jmdi$jri$1@rogue.oti.com...
> In my application - running on eclipse 2.0.2 I'm getting a
> java.lang.outOfMemoryError.
>
> I want to try and use the java flags :
>
> -Xms<size> set initial Java heap size
> -Xmx<size> set maximum Java heap size
>
> How should I do it through eclipse project ? and to what values should I
> set them ?
>
> Thank's
>
>


  • Attachment: launch.jpg
    (Size: 76.90KB, Downloaded 478 times)
Re: using -Xms and -Xmx [message #589681 is a reply to message #44309] Sun, 02 February 2003 19:21 Go to previous message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
These types of questions are better asked on eclipse.tools but...
you can pass these arguments through to the vm using -vmargs
e.g. -vmArgs -Xmx380M

The values you set them to depend on the specifications of the system you
are working on.
Most of the posts I have seen talk about setting the max heap size to at
least 256M

HTH
Darins

"Lilach " <gprego@netvision.net.il> wrote in message
news:b1jmdi$jri$1@rogue.oti.com...
> In my application - running on eclipse 2.0.2 I'm getting a
> java.lang.outOfMemoryError.
>
> I want to try and use the java flags :
>
> -Xms<size> set initial Java heap size
> -Xmx<size> set maximum Java heap size
>
> How should I do it through eclipse project ? and to what values should I
> set them ?
>
> Thank's
>
>
Re: using -Xms and -Xmx [message #589694 is a reply to message #44309] Sun, 02 February 2003 20:02 Go to previous message
Eclipse UserFriend
Originally posted by: mkl.inter.net.il

You can specify this kind of options in the launch configuration of your
application. See attached example. Of course, 512M memory is not enough for
every application.

"Lilach " <gprego@netvision.net.il> wrote in message
news:b1jmdi$jri$1@rogue.oti.com...
> In my application - running on eclipse 2.0.2 I'm getting a
> java.lang.outOfMemoryError.
>
> I want to try and use the java flags :
>
> -Xms<size> set initial Java heap size
> -Xmx<size> set maximum Java heap size
>
> How should I do it through eclipse project ? and to what values should I
> set them ?
>
> Thank's
>
>


  • Attachment: launch.jpg
    (Size: 76.90KB, Downloaded 307 times)
Previous Topic:using -Xms and -Xmx
Next Topic:Help regarding toolbar in Eclipse IDE
Goto Forum:
  


Current Time: Thu Apr 25 10:21:17 GMT 2024

Powered by FUDForum. Page generated in 0.03016 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top