Repository navigation
[Data] Modify maximum memory to OOM prevention docs - #65509
Merged
bveeramani merged 3 commits intoAug 18, 2026
Merged
Conversation
Signed-off-by: viiccwen <[email protected]>
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the documentation on avoiding out-of-memory (OOM) errors in Ray Data by recommending that users set the memory parameter to 1.25 times (or 125% of) the maximum observed heap memory. The feedback suggests clarifying the reference to max_uss_bytes by explicitly pointing out that users should look at the 'max' key within this dictionary to avoid ambiguity.
Signed-off-by: viiccwen <[email protected]>
Contributor
Author
|
Hello @bveeramani, it's can be reviewed, PTAL. Thanks! |
bveeramani
approved these changes
Aug 16, 2026
bveeramani
left a comment
Member
There was a problem hiding this comment.
LGTM with some minor suggestions
Move the memory buffer recommendation next to the max USS log guidance and clarify the requested-memory calculation. Signed-off-by: viiccwen <[email protected]>
bveeramani
enabled auto-merge (squash)
August 18, 2026 05:29
nadongjun
pushed a commit
to nadongjun/ray
that referenced
this pull request
Oct 6, 2026
## Description Update the Ray Data OOM prevention guide to recommend setting ``memory`` to 125% of the maximum observed worker heap memory. This leaves a 20% buffer for variation between jobs and future increases in memory use. ## Related issues closes ray-project#65508. ## Additional information > Optional: Add implementation details, API changes, usage examples, screenshots, etc. --------- Signed-off-by: viiccwen <[email protected]>
chia7712
pushed a commit
to opensource4you/readme
that referenced
this pull request
Oct 23, 2026
Add a nomination under `fellowship/ray/` Suggested level: 30k Highlights from 2026-09-01 to 2026-10-11: - [Contribution](https://github.com/opensource4you/readme/blob/main/fellowship/ray/fellow-contribution/viiccwen/September/report.md) - Merged 10 Ray Data PRs and filed 8 issues in 6 weeks - Made shuffle tasks up to 12.84x faster by pinning the fused map function, so large UDF closures are no longer serialized again for every shuffle task ([#65480](ray-project/ray#65480)) - Built a memory observability series to help users avoid OOM: exported task peak USS and logical memory metrics with Grafana charts ([#65666](ray-project/ray#65666), [#66044](ray-project/ray#66044)), added a warning with a suggested memory value when it is set below 1.25x max USS ([#65512](ray-project/ray#65512)), and updated the OOM prevention docs ([#65509](ray-project/ray#65509)) - Found, reported and fixed silent data loss in hash-shuffle (V2) anti joins, where rows were dropped when the other side was empty and had an unknown schema ([#66126](ray-project/ray#66126)) - Reviewed other fellows' PRs with suggestions ([#66878](ray-project/ray#66878)) - Merged the most PRs and filed the most issues of all Ray Fellowship participants - Solid work for an early contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Update the Ray Data OOM prevention guide to recommend setting
memoryto 125% of the maximum observed worker heap memory. This leaves a 20% buffer for variation between jobs and future increases in memory use.Related issues
closes #65508.
Additional information