Repository navigation
[Data] Add logical memory usage chart - #66044
Merged
Merged
Conversation
Expose logical heap memory usage through Ray Data metrics and add it to the Data dashboard resource usage charts. Signed-off-by: viiccwen <[email protected]>
Contributor
There was a problem hiding this comment.
Code Review
This pull request introduces a new Prometheus metric, ray_data_memory_usage_bytes, to track the logical heap memory allocated to dataset operators. It integrates this metric into the dashboard panels, data head, and internal execution statistics. The review feedback suggests using getattr defensively when retrieving the memory attribute from resource_usage to avoid potential AttributeErrors in legacy operators or mock objects.
Include logical memory usage in the existing stats output golden values. Signed-off-by: viiccwen <[email protected]>
bveeramani
approved these changes
Sep 17, 2026
Signed-off-by: Balaji Veeramani <[email protected]>
bveeramani
enabled auto-merge (squash)
September 17, 2026 00:36
bveeramani
disabled auto-merge
September 17, 2026 00:36
bveeramani
enabled auto-merge (squash)
September 17, 2026 00:36
bveeramani
disabled auto-merge
September 17, 2026 00:36
bveeramani
enabled auto-merge (squash)
September 17, 2026 00:36
1 task
nadongjun
pushed a commit
to nadongjun/ray
that referenced
this pull request
Oct 6, 2026
## Description Ray Data exposes logical CPU and GPU usage in the Data dashboard, but it does not expose the logical heap memory reserved by running operator tasks. Now that memory is a first-class scheduling resource, users need the same visibility for memory when diagnosing resource allocation and operator concurrency. ## Related issues None ## Additional information <img width="2880" height="1556" alt="image" src="https://github.com/user-attachments/assets/fc9eee4e-dc27-4fb9-bbb5-84587e4c9462" /> --------- Signed-off-by: viiccwen <[email protected]> Signed-off-by: Balaji Veeramani <[email protected]> Co-authored-by: Balaji Veeramani <[email protected]> Co-authored-by: kriyanshii <[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
Ray Data exposes logical CPU and GPU usage in the Data dashboard, but it does not expose the logical heap memory reserved by running operator tasks. Now that memory is a first-class scheduling resource, users need the same visibility for memory when diagnosing resource allocation and operator concurrency.
Related issues
None
Additional information