Skip to content

Commit eb61432

Browse files
committed
std::rt: 2MB stacks again
1 parent 98ec79c commit eb61432

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/rt/task.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ impl Drop for Task {
326326
impl Coroutine {
327327

328328
pub fn new(stack_pool: &mut StackPool, start: ~fn()) -> Coroutine {
329-
static MIN_STACK_SIZE: uint = 3000000; // XXX: Too much stack
329+
static MIN_STACK_SIZE: uint = 2000000; // XXX: Too much stack
330330

331331
let start = Coroutine::build_start_wrapper(start);
332332
let mut stack = stack_pool.take_segment(MIN_STACK_SIZE);

0 commit comments

Comments
 (0)