[Actor] Possible extra memory consumption #37291
Labels
bug
Something that is supposed to be working; but isn't
core
Issues that should be addressed in Ray Core
core-scheduler
P1
Issue that should be fixed within a few weeks
stability
What happened + What you expected to happen
When using Ray actors, I have noticed that Ray occupies some memory space that cannot be released. For example, a numpy array in my script takes approximately 3.8GB, but profiling results indicate that Ray actors always occupy twice the amount of memory. This can easily lead to out-of-memory (OOM) errors in high-concurrency scenarios. Is there a good way to release this memory?
Versions / Dependencies
Ray 2.4
Python 3.8
Linux 20.04
Reproduction script
Issue Severity
None
The text was updated successfully, but these errors were encountered: