Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » -Xss option always gives "invalid thread stack size"
-Xss option always gives "invalid thread stack size" [message #181132] Tue, 21 November 2006 20:24 Go to next message
Eclipse UserFriend
Originally posted by: ns_dkerber.ns_WarrenRogersAssociates.com

Using Eclipse 3.2

I have a java/jni app I'm working on that is throwing stack overflow
errors. I am trying to enlarge the thread stack size with the -Xss
option in the jvm settings of the debug profiler, and no matter what I
put in, it always gives me "Invalid thread stack size: -Xss=2048k" (or
whatever other number I put in). How can I change this option so I can
debug my app?


--
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).
Re: -Xss option always gives "invalid thread stack size" [message #181157 is a reply to message #181132] Tue, 21 November 2006 21:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wayne.beaton._NOSPAM_eclipse.org

David Kerber wrote:
> Using Eclipse 3.2
>
> I have a java/jni app I'm working on that is throwing stack overflow
> errors. I am trying to enlarge the thread stack size with the -Xss
> option in the jvm settings of the debug profiler, and no matter what I
> put in, it always gives me "Invalid thread stack size: -Xss=2048k" (or
> whatever other number I put in). How can I change this option so I can
> debug my app?
>
>
Hi David. This is a Java option, not an Eclipse one. I did a cursory
search with Google but didn't find much. I think you'll have better luck
posting your question on Java VM discussion group.

Wayne
Re: -Xss option always gives "invalid thread stack size" [message #181165 is a reply to message #181157] Tue, 21 November 2006 21:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ns_dkerber.ns_WarrenRogersAssociates.com

In article <45637372.7050001@_NOSPAM_eclipse.org>,
wayne.beaton@_NOSPAM_eclipse.org says...
> David Kerber wrote:
> > Using Eclipse 3.2
> >
> > I have a java/jni app I'm working on that is throwing stack overflow
> > errors. I am trying to enlarge the thread stack size with the -Xss
> > option in the jvm settings of the debug profiler, and no matter what I
> > put in, it always gives me "Invalid thread stack size: -Xss=2048k" (or
> > whatever other number I put in). How can I change this option so I can
> > debug my app?
> >
> >
> Hi David. This is a Java option, not an Eclipse one. I did a cursory
> search with Google but didn't find much. I think you'll have better luck
> posting your question on Java VM discussion group.

Yes, it's a java setting, but Eclipse has a place to set it in the debug
options area, and that's where I'm running into trouble. I don't have
any trouble outside of Eclipse with it.

--
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).
Re: -Xss option always gives "invalid thread stack size" - fixed [message #182035 is a reply to message #181165] Tue, 28 November 2006 19:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ns_dkerber.ns_WarrenRogersAssociates.com

In case somebody else ever needs it, I figured out what was going on:
I was in the right place (Run | Debug | Arguments | VM ARguments), but
was entering the value incorrectly: I was putting in a space between "-
Xss" and the number; getting rid of the the space made it work fine.



In article <MPG.1fcd3e1b5e1384879896a4@news.eclipse.org>,
ns_dkerber@ns_WarrenRogersAssociates.com says...
> In article <45637372.7050001@_NOSPAM_eclipse.org>,
> wayne.beaton@_NOSPAM_eclipse.org says...
> > David Kerber wrote:
> > > Using Eclipse 3.2
> > >
> > > I have a java/jni app I'm working on that is throwing stack overflow
> > > errors. I am trying to enlarge the thread stack size with the -Xss
> > > option in the jvm settings of the debug profiler, and no matter what I
> > > put in, it always gives me "Invalid thread stack size: -Xss=2048k" (or
> > > whatever other number I put in). How can I change this option so I can
> > > debug my app?
> > >
> > >
> > Hi David. This is a Java option, not an Eclipse one. I did a cursory
> > search with Google but didn't find much. I think you'll have better luck
> > posting your question on Java VM discussion group.
>
> Yes, it's a java setting, but Eclipse has a place to set it in the debug
> options area, and that's where I'm running into trouble. I don't have
> any trouble outside of Eclipse with it.
>
>

--
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).
Re: -Xss option always gives "invalid thread stack size" [message #182050 is a reply to message #181132] Tue, 28 November 2006 20:00 Go to previous message
Shankar Unni is currently offline Shankar UnniFriend
Messages: 19
Registered: July 2009
Junior Member
David Kerber wrote:
> "Invalid thread stack size: -Xss=2048k"

Drop the "=". It's just "-Xss2048k".
Previous Topic:Restrict imports in auto-import prompter
Next Topic:MESSAGE Could not install bundle plugins
Goto Forum:
  


Current Time: Fri Apr 26 10:50:11 GMT 2024

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

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

Back to the top