thread leak with puts
---------------------
Key: JRUBY-6248
URL: https://jira.codehaus.org/browse/JRUBY-6248
Project: JRuby
Issue Type: Bug
Environment: jruby 1.7.0.dev (ruby-1.8.7-p330) (2011-11-16 b7c3cc2)
(Java HotSpot(TM) Client VM 1.6.0_24) [Windows 7-x86-java]
Reporter: Roger Pack
Assignee: Thomas E Enebo
Thread.new { loop { `ls` } }
gets
causes
Exception in thread "RubyThread-0: bad.rb:1" java.lang.OutOfMemoryError: unable
to create new native thread
...
Replacing "gets" with "sleep" and it works fine. MRI seems to work fine both
ways.
(Linux and Windows)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email