Skip to content

Conversation

@MazterQyou
Copy link
Member

@MazterQyou MazterQyou commented May 27, 2025

This PR makes MemoryManager avoid panicking on underflow when shrinking memory usage tracker, setting the value to usize::MIN instead.

@MazterQyou MazterQyou changed the title fix: Do not shrink tracker usage for ExternalSorter fix: Do not panic on underflow when shrinking memory usage tracker May 27, 2025
@MazterQyou MazterQyou force-pushed the cubesql/fix-memory-shrink-underflow branch from 9b2be0a to 0e8b295 Compare May 27, 2025 16:47
@MazterQyou MazterQyou merged commit ecd17b3 into cubesql-3-04-2022 May 27, 2025
24 checks passed
@MazterQyou MazterQyou deleted the cubesql/fix-memory-shrink-underflow branch May 27, 2025 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants