Out of memory error while building a project in the Run bench [message #216911] |
Wed, 20 June 2007 05:20 |
Eclipse User |
|
|
|
Originally posted by: rashmidonthi.gmail.com
Hi,
I launch a run bench with argument -Xmx512m. Workspace has around 2000
files and during the build i get OutOfMemoryError. I tried launching the
dev bench with vm arguments -mx256m as well as -mx512m. Is ther any other
arguments i should use and any other options to be set?
Thank you in advance,
Rashmi Donthi
|
|
|
Re: Out of memory error while building a project in the Run bench [message #217043 is a reply to message #216911] |
Wed, 20 June 2007 19:59 |
Eclipse User |
|
|
|
Originally posted by: csae7511.uibk.ac.at
Hi,
perhaps you are running out of permgen space (I sometimes experienced
problems with it) - try:
-vmargs -XX:MaxPermSize=128M
Furthermore it is possible that the arguments are actually not passed to
eclipse (e.g. due to using a shortcut in Windows). You can check the
arguments you passed in Help --> About Eclipse SDK --> Configuration
Details.
HTH,
Stefan
Rashmi schrieb:
> Hi,
> I launch a run bench with argument -Xmx512m. Workspace has around 2000
> files and during the build i get OutOfMemoryError. I tried launching the
> dev bench with vm arguments -mx256m as well as -mx512m. Is ther any
> other arguments i should use and any other options to be set?
> Thank you in advance,
> Rashmi Donthi
>
>
>
|
|
|
Re: Out of memory error while building a project in the Run bench [message #217368 is a reply to message #217043] |
Fri, 22 June 2007 10:05 |
Eclipse User |
|
|
|
Originally posted by: rashmidonthi.gmail.com
Thank you it worked.
"Stefan Zugal" <csae7511@uibk.ac.at> wrote in message
news:f5c0vj$m0f$1@build.eclipse.org...
> Hi,
>
> perhaps you are running out of permgen space (I sometimes experienced
> problems with it) - try:
> -vmargs -XX:MaxPermSize=128M
>
> Furthermore it is possible that the arguments are actually not passed to
> eclipse (e.g. due to using a shortcut in Windows). You can check the
> arguments you passed in Help --> About Eclipse SDK --> Configuration
> Details.
>
> HTH,
> Stefan
>
> Rashmi schrieb:
> > Hi,
> > I launch a run bench with argument -Xmx512m. Workspace has around 2000
> > files and during the build i get OutOfMemoryError. I tried launching the
> > dev bench with vm arguments -mx256m as well as -mx512m. Is ther any
> > other arguments i should use and any other options to be set?
> > Thank you in advance,
> > Rashmi Donthi
> >
> >
> >
|
|
|
Re: Out of memory error while building a project in the Run bench [message #217994 is a reply to message #217368] |
Tue, 26 June 2007 09:29 |
Eclipse User |
|
|
|
Originally posted by: rashmidonthi.gmail.com
Increasing the permgen size works only when one builder is turned on at a
time. But with all the builders on it goes out of memory.
I tried increasing the permgen size to 256 and also tried using -mx640m. It
did not help:(
Is there any other solution?
"Rashmi" <rashmidonthi@gmail.com> wrote in message
news:f5g789$l14$1@build.eclipse.org...
> Thank you it worked.
>
> "Stefan Zugal" <csae7511@uibk.ac.at> wrote in message
> news:f5c0vj$m0f$1@build.eclipse.org...
> > Hi,
> >
> > perhaps you are running out of permgen space (I sometimes experienced
> > problems with it) - try:
> > -vmargs -XX:MaxPermSize=128M
> >
> > Furthermore it is possible that the arguments are actually not passed to
> > eclipse (e.g. due to using a shortcut in Windows). You can check the
> > arguments you passed in Help --> About Eclipse SDK --> Configuration
> > Details.
> >
> > HTH,
> > Stefan
> >
> > Rashmi schrieb:
> > > Hi,
> > > I launch a run bench with argument -Xmx512m. Workspace has around
2000
> > > files and during the build i get OutOfMemoryError. I tried launching
the
> > > dev bench with vm arguments -mx256m as well as -mx512m. Is ther any
> > > other arguments i should use and any other options to be set?
> > > Thank you in advance,
> > > Rashmi Donthi
> > >
> > >
> > >
>
>
|
|
|
Re: Out of memory error while building a project in the Run bench [message #218089 is a reply to message #217994] |
Tue, 26 June 2007 15:36 |
Eclipse User |
|
|
|
Originally posted by: eclipse5.rizzoweb.com
Rashmi wrote:
> Increasing the permgen size works only when one builder is turned on at a
> time. But with all the builders on it goes out of memory.
> I tried increasing the permgen size to 256 and also tried using -mx640m. It
> did not help:(
> Is there any other solution?
You need to use -Xmx, not -mx.
Here is an example of the eclipse.ini that I use and it never has memory
problems even with huge workspaces and dozens of plugins:
-vm
D:\Java\JDK\5.0\bin\javaw.exe
-vmargs
-Xms128m
-Xmx512m
-XX:MaxPermSize=128m
Hope this helps,
Eric
|
|
|
Re: Out of memory error while building a project in the Run bench [message #218578 is a reply to message #218089] |
Thu, 28 June 2007 05:14 |
Eclipse User |
|
|
|
Originally posted by: rashmidonthi.gmail.com
Thanks but it did not help. I had to use -Xmx1024m to overcome the out of
memory error.
"Eric Rizzo" <eclipse5@rizzoweb.com> wrote in message
news:f5rbq1$ejs$4@build.eclipse.org...
> Rashmi wrote:
> > Increasing the permgen size works only when one builder is turned on at
a
> > time. But with all the builders on it goes out of memory.
> > I tried increasing the permgen size to 256 and also tried using -mx640m.
It
> > did not help:(
> > Is there any other solution?
>
> You need to use -Xmx, not -mx.
> Here is an example of the eclipse.ini that I use and it never has memory
> problems even with huge workspaces and dozens of plugins:
>
> -vm
> D:\Java\JDK\5.0\bin\javaw.exe
> -vmargs
> -Xms128m
> -Xmx512m
> -XX:MaxPermSize=128m
>
>
> Hope this helps,
> Eric
|
|
|
Powered by
FUDForum. Page generated in 0.09106 seconds