Skip to content

Conversation

@kira-lin
Copy link
Collaborator

@kira-lin kira-lin commented Mar 31, 2023

In order to be able to access objects after spark executors shutdown, we can assign the ownership to RayDPSparkMaster. But for now, we cannot cleanup the reference, so objects created such way cannot be free. This will be a memory issue when dealing with large amount of data.

This PR adds a function to delete such references. And to be able to do this, we use object.hex() (string repr of object id) as key. This function needs to be called manually by user when user finish using the object.

Zhi Lin added 2 commits March 31, 2023 13:55
Signed-off-by: Zhi Lin <zhi.lin@intel.com>
Signed-off-by: Zhi Lin <zhi.lin@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant