Hi! I've now tried to up the stack size, first to 1024K and then to 2048K ... no luck here. It seems you're right, and it's a bug somewhere.
/O ----- Original Message ----- From: Charles O Nutter <[EMAIL PROTECTED]> Date: Friday, April 14, 2006 4:50 pm Subject: Re: [Jruby-devel] RubyGems stuff To: jruby-devel@lists.sourceforge.net > StackOverflow happens when the Java stack is exceeded. In this case > we'reeither actually exceeding the limits of JRuby, or there's a > bug somewhere > that's causing it to recurse too deep. If it's the former, you can > test it > by adding the following to the Java command to increase the maximum > stackdepth (though I suspect it's the latter): > > -Xss<size> where size defaults to 256k on Intel and 512k on Sparc. > You can > bump that up and see if you still run into issues. > > On 4/14/06, Ola Bini <[EMAIL PROTECTED]> wrote: > > > > Hi everyone. > > > > Last time we got a StackOverflowError, probably from the yaml- > library.> This time, I did the same operations with -Xmx256M (and I > had to add > > SocketError to socket.rb...) > > The result was this: > > src/yaml.y.rb:97:in `handle_content': stack level too deep > > (SystemStackError) > > from src/yaml.y.rb:97:in `do_tokenize' > > from src/yaml.y.rb:65:in `_parse' > > from src/yaml.y.rb:43:in `parse' > > from src/emitter.rb:845:in `load' > > from > > ./lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:164:in > > `convert_spec' > > from > ./lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:67:in> > `source_index'> from > > ./lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:349:in > > `source_index' > > from > > ./lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:505:in > > `fetch_source' > > ... 9 levels... > > from > ./lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:67:in `run' > > from > ./lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:13:in `run' > > from bin\gem:17 > > > > So, this SystemStackError, where does that come from? > > > > /O > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > language > > that extends applications into web and mobile media. Attend the live > > webcast > > and join the prime developer group breaking into this new coding > > territory! > > http://sel.as- > us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642> > _______________________________________________> Jruby-devel > mailing list > > Jruby-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/jruby-devel > > > > > > -- > Charles Oliver Nutter @ headius.blogspot.com > JRuby Developer @ jruby.sourceforge.net > Application Architect @ www.ventera.com > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Jruby-devel mailing list Jruby-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jruby-devel