Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] fiber: increase fiber stack size #46133

Merged
merged 1 commit into from
Jun 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading