bug 488 & your widget set (stack overflow)

Jeff Buhrt <[email protected]> Tue, 02 Mar 2004 11:43:06 -0500
Newsgroups gmane.comp.java.xwt.widgets
Message-ID <[email protected]>
Charlie,

For your widget tests set the stack to 40MB and it is 'fine' (other than 
the window resizes to a cute blue oval-like shape, but can be resized). 
To do this on Linux just:
ulimit -s unlimited
java -Xss40m -jar ...

Note this isn't a 'fix' but a workaround. Font.java's perform() needs to 
bew rewritten to not be recursive or needs a smart way to walk the 
screen, it just hops around.
-Given the slow speed and big stack requirements, I think perform() 
needs reworked.

As for bug 488, I tried 120m (120MB) and it still failed. For whatever 
reason, the jvm is not taking a stack much large though and errors. If 
you add a 'Log.level = Log.DEBUG;' in perform() you can see the render 
hopping around.

-Jeff