mars-project / mars

Mars is a tensor-based unified framework for large-scale data computation which scales numpy, pandas, scikit-learn and Python functions.
https://mars-project.readthedocs.io
Apache License 2.0
2.7k stars 325 forks source link

[Ray] Implement Ray executor subtask GC #3294

Closed fyrestone closed 1 year ago

fyrestone commented 1 year ago

What do these changes do?

Ray executor does not gc the input data and the intermediate data of subtask, then the memory usage of worker may be very high. This PR gc the chunk data after every operand finish.

Related issue number

Fixes #xxxx

Check code requirements