-
Notifications
You must be signed in to change notification settings - Fork 287
fix loadSpilledData memory leak
#23436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
loadSpillData memory leakloadSpilledData memory leak
Merge Queue Status✅ The pull request has been merged at 6b78cfe This pull request spent 5 seconds in the queue, with no time running CI. Required conditions to merge
|
User description
What type of PR is this?
Which issue(s) this PR fixes:
issue ##23407
What this PR does / why we need it:
fix
loadSpillDatamemory leakPR Type
Bug fix
Description
Add defer cleanup for gbBatch to prevent memory leak
Ensures batch resources are properly freed after loadSpilledData completes
Diagram Walkthrough
File Walkthrough
helper.go
Add defer cleanup for gbBatch resourcepkg/sql/colexec/group/helper.go