parthchandra commented on code in PR #1721: URL: https://github.com/apache/datafusion-comet/pull/1721#discussion_r2078566439
########## native/core/src/execution/memory_pools/unified_pool.rs: ########## @@ -76,6 +76,15 @@ impl CometMemoryPool { } } +impl Drop for CometMemoryPool { + fn drop(&mut self) { + let used = self.used.load(Relaxed); + if used != 0 { + log::warn!("CometMemoryPool dropped with {} bytes still reserved", used); Review Comment: Makes sense -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org