Skip to content

Conversation

@DanielWang2035
Copy link
Collaborator

(cherry picked from commit 417ddd0)

…pache#15518)

This commit addresses a memory leak issue in the load process by ensuring that memory usage is reduced even when the dispatch of a piece node fails. The key changes include:

- Storing the result of the dispatch call in a variable (isDispatchSuccess) before reducing memory usage.
- Deducting the memory usage prior to checking the dispatch result to avoid leaks.
- Returning false immediately after the reduction when the dispatch fails.

(cherry picked from commit 417ddd0)
@SteveYurongSu SteveYurongSu self-assigned this May 20, 2025
@SteveYurongSu SteveYurongSu merged commit de88b9b into apache:dev/1.3 May 20, 2025
12 checks passed
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.

2 participants