Skip to content

Commit

Permalink
[core] fiber: increase fiber stack size (#46133)
Browse files Browse the repository at this point in the history
Signed-off-by: hongchaodeng <[email protected]>
  • Loading branch information
hongchaodeng authored Jun 21, 2024
1 parent c61b744 commit 91997fc
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/ray/core_worker/fiber.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,15 +160,7 @@ class FiberState {
}

private:
// The fiber stack size. 128 KiB on Linux and Windows. 256 KiB on Mac.
// Note that the default fiber stack size is 128 KiB. In the Mac CI environment, this is
// not large enough and thus it causes segfaults. See
// https://github.com/ray-project/ray/pull/44331.
#if defined(__APPLE__)
static constexpr size_t kStackSize = 1024 * 256;
#else
static constexpr size_t kStackSize = 1024 * 128;
#endif

// The fiber stack allocator.
boost::fibers::fixedsize_stack allocator_;
Expand Down

0 comments on commit 91997fc

Please sign in to comment.