Normally, running out of memory wouldn't cause a stack overflow, but
it could happen if it causes you to get an error handling the error
handling the error handling the error handling the error...

You may need to adjust the memory allocation for Java.

If, in your Eclipse install, you open eclipse.ini, you'll find the
default command-line options. Note that each argument MUST be on a
separate line. Weird-looking, but correct.

You can also do this by editing the shortcut you use to launch
Eclipse, and adding a -vmargs <Java command-line arguments> at the end
of the line.

You probably need to increase the -Xmx parameter.

You can increase the thread stack size with -Xss<size>, but you
shouldn't need to, and I doubt that's your problem.

I'm running in a similar environment, with these parameters:

--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-product
org.eclipse.epp.package.jee.product
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m

(I didn't cause the duplication; Eclipse installed that way. It's not
doing any harm, though).

On Feb 23, 10:11 pm, Kumar Bibek <coomar....@gmail.com> wrote:
> This looks like a memory problem to me. Eclipse does eat up a lot of
> memory. And if you are short of RAM, and you are doing lots of things,
> you will hit StackOverflow.
>
> On Feb 24, 12:22 am, Matt Kanninen <mathias...@gmail.com> wrote:
>
>
>
> > This work flow is causing Eclipse to give me:
>
> > Unhandled event loop exception
> > java.lang.StackOverflowError
>
> > Looking at the eclipse log it gives just a bit more information:
>
> > Unhandled event loop exception java.lang.StackOverflowError
> > org.eclipse.ui
>
> > I am running:
>
> > Eclipse IDE for Java Developers 1.2.1.20090918-0703     epp.package.java
>
> > I tried re downloading eclipse, re installing the ADT plugin, using a
> > new workspace, same problem.
>
> > I am running a Dell Studio XPS 8100 64-bit Operating system with
> > Windows 7 Home Premium.
>
> > I can work around this by doing File -> Import rather then File -> New.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to