Issue #4614 has been updated by mame (Yusuke Endoh).


ko1, what's the status?

Too many 2.0.0 tickets, especially big task ones, are assigned to ko1.  ko1, please decide your priorities.

Welcome to volunteer for helping him.

-- 
Yusuke Endoh <mame / tsg.ne.jp>
----------------------------------------
Feature #4614: [RFC/PATCH] thread_pthread.c: lower RUBY_STACK_MIN_LIMIT to 64K
https://bugs.ruby-lang.org/issues/4614#change-33700

Author: normalperson (Eric Wong)
Status: Feedback
Priority: High
Assignee: ko1 (Koichi Sasada)
Category: core
Target version: 2.0.0


=begin
The patch (committed) for Issue #4568 made this change possible.

Lowering stack size allows users on memory-constrained 32-bit
machines to spawn more native threads (which are easier (IMHO)
to use than Fibers).

Setting RUBY_STACK_MIN_LIMIT to 48K seems to work even with
check, test-rubyspec, and benchmark-each targets.  However, I'm
keeping it at 64K since that is what Symbian uses, so maybe
there's some code paths that need 64K.

I started experiencing failures with the Ruby tests with 44K on
x86_64, so 44K is definitely not safe.  Much more effort would
be required to make Ruby work with smaller stacks than 48K.

Also pullable via git: git pull git://bogomips.org/ruby.git stack-reduce

=end



-- 
http://bugs.ruby-lang.org/