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.
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
>
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
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
>
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
>>