Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Out Of Memory
Out Of Memory [message #206714] Mon, 14 January 2008 05:24 Go to next message
Eclipse UserFriend
Originally posted by: divyalakshmir.hotmail.com

Hi,

I am currently using Weblogic 10.01M. And this Product uses eclipse as it
workshop.But Eclipse starts taking lot of time. Many times when I try to
build a project and publish it,eclipse goes out of memory. Can anyone help
me in configuring eclipse in a way to improve its performance.

Thanks
Lakshmi
Re: Out Of Memory [message #206729 is a reply to message #206714] Mon, 14 January 2008 07:57 Go to previous messageGo to next message
kiril mitov is currently offline kiril mitovFriend
Messages: 69
Registered: July 2009
Member
Hi Lakshmi,

There are many threads discussing the problem with out of memory. The
general solution is to use -Xmx and -XX:MaxPermSize options for the jvm
so that it can allocate more memory.

You can also check the eclise.ini file located in you eclipse directory.
You can specify this arguments there.

Best Regards,
Kiril

Lakshmi wrote:
> Hi,
>
> I am currently using Weblogic 10.01M. And this Product uses eclipse as
> it workshop.But Eclipse starts taking lot of time. Many times when I try
> to build a project and publish it,eclipse goes out of memory. Can anyone
> help me in configuring eclipse in a way to improve its performance.
>
> Thanks
> Lakshmi
>
Re: Out Of Memory [message #206737 is a reply to message #206729] Mon, 14 January 2008 08:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: divyalakshmir.hotmail.com

Hi,

can you let me know what i need to set exactly? please

Lakshmi
Re: Out Of Memory [message #206743 is a reply to message #206737] Mon, 14 January 2008 11:22 Go to previous messageGo to next message
kiril mitov is currently offline kiril mitovFriend
Messages: 69
Registered: July 2009
Member
The -Xmx options can be used like -Xmx512m. This means that the maximum
memory used by the VM will be 512m. If this is not enough (very rear)
you can of course set a bigger value.

The -XX:MaxPermSize is used as -XX:MaxPermSize=128m. Notice the '=' symbol.

You can find this values in the eclipse.ini file which is located at the
directory of eclipse. In my case this file look like

-showsplash
org.eclipse.platform
-vmargs
-Xms128m
-Xmx512m
-XX:MaxPermSize=128m

Depending on the operation system you use there are other ways to set
this properties.
In case of a linux system you can use
#>./eclipse -vm /usr/lib/jvm/sun-jdk-1.5/bin/ -vmargs
-XX:MaxPermSize=128m -Xmx512m

Here of course the path to the vm can be skipped.

I am not familiar with WebLogic. There might also be other ways to
specify the used memory.

Best Regards,
Kiril

Lakshmi wrote:
> Hi,
>
> can you let me know what i need to set exactly? please
>
> Lakshmi
>
Re: Out Of Memory [message #206750 is a reply to message #206743] Mon, 14 January 2008 11:45 Go to previous message
kiril mitov is currently offline kiril mitovFriend
Messages: 69
Registered: July 2009
Member
You can also find more on this at:

http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. platform.doc.user/tasks/running_eclipse.htm

Best Regards,
Kiril

kiril mitov wrote:
> The -Xmx options can be used like -Xmx512m. This means that the maximum
> memory used by the VM will be 512m. If this is not enough (very rear)
> you can of course set a bigger value.
>
> The -XX:MaxPermSize is used as -XX:MaxPermSize=128m. Notice the '=' symbol.
>
> You can find this values in the eclipse.ini file which is located at the
> directory of eclipse. In my case this file look like
>
> -showsplash
> org.eclipse.platform
> -vmargs
> -Xms128m
> -Xmx512m
> -XX:MaxPermSize=128m
>
> Depending on the operation system you use there are other ways to set
> this properties.
> In case of a linux system you can use
> #>./eclipse -vm /usr/lib/jvm/sun-jdk-1.5/bin/ -vmargs
> -XX:MaxPermSize=128m -Xmx512m
>
> Here of course the path to the vm can be skipped.
>
> I am not familiar with WebLogic. There might also be other ways to
> specify the used memory.
>
> Best Regards,
> Kiril
>
> Lakshmi wrote:
>> Hi,
>>
>> can you let me know what i need to set exactly? please
>>
>> Lakshmi
>>
Previous Topic:Out Of Memory
Next Topic:convert java project to web project
Goto Forum:
  


Current Time: Sun Dec 21 16:39:06 GMT 2014

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

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