std::rt: 2MB stacks again
This commit is contained in:
parent
98ec79c957
commit
eb6143257d
1 changed files with 1 additions and 1 deletions
|
@ -326,7 +326,7 @@ impl Drop for Task {
|
|||
impl Coroutine {
|
||||
|
||||
pub fn new(stack_pool: &mut StackPool, start: ~fn()) -> Coroutine {
|
||||
static MIN_STACK_SIZE: uint = 3000000; // XXX: Too much stack
|
||||
static MIN_STACK_SIZE: uint = 2000000; // XXX: Too much stack
|
||||
|
||||
let start = Coroutine::build_start_wrapper(start);
|
||||
let mut stack = stack_pool.take_segment(MIN_STACK_SIZE);
|
||||
|
|
Loading…
Reference in a new issue