-Xss option always gives "invalid thread stack size" [message #181132] |
Tue, 21 November 2006 20:24 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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).
|
|
|
|
Powered by
FUDForum. Page generated in 0.08291 seconds