std::rt: Reduce task stack size to 1MB
This commit is contained in:
parent
d4de99aa6c
commit
d83d38c7fe
1 changed files with 1 additions and 1 deletions
|
|
@ -523,7 +523,7 @@ pub impl Coroutine {
|
|||
task: ~Task,
|
||||
start: ~fn()) -> Coroutine {
|
||||
|
||||
static MIN_STACK_SIZE: uint = 10000000; // XXX: Too much stack
|
||||
static MIN_STACK_SIZE: uint = 1000000; // XXX: Too much stack
|
||||
|
||||
let start = Coroutine::build_start_wrapper(start);
|
||||
let mut stack = stack_pool.take_segment(MIN_STACK_SIZE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue