Skip to content

Commit d83d38c

Browse files
committed
std::rt: Reduce task stack size to 1MB
1 parent d4de99a commit d83d38c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/rt/sched.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ pub impl Coroutine {
523523
task: ~Task,
524524
start: ~fn()) -> Coroutine {
525525

526-
static MIN_STACK_SIZE: uint = 10000000; // XXX: Too much stack
526+
static MIN_STACK_SIZE: uint = 1000000; // XXX: Too much stack
527527

528528
let start = Coroutine::build_start_wrapper(start);
529529
let mut stack = stack_pool.take_segment(MIN_STACK_SIZE);

0 commit comments

Comments
 (0)