VVKot opened a new pull request, #26208:
URL: https://github.com/apache/datafusion/pull/26208

   ## Which issue does this PR close?
   
   Local reproduction of a zero-RSS memory-validation failure. Depends on the 
window-expression lint prerequisite: 
https://github.com/apache/datafusion/pull/26207.
   
   ## Rationale for this change
   
   A short query can finish before the asynchronous RSS monitor starts, leaving 
max_rss at zero and failing the memory-limit validation. System::new_all also 
gathers information unrelated to the current process.
   
   ## What changes are included in this PR?
   
   Capture current-process memory before running the query, initialize the 
maximum from that sample, and reuse the same System in the monitor. Both 
refreshes exclude task enumeration. Memory thresholds are unchanged.
   
   ## What is the testing strategy for this PR?
   
   The previously failing sort_with_mem_limit_1_runner now passes. The existing 
memory_limit_validation_runner_works_runner still rejects its impossible 20 MB 
cap. The core integration suite passed 1,227 tests with one ignored. The 
extended workspace run is in progress.
   
   ## Are there any user-facing changes?
   
   None; this changes test infrastructure.
   
   AI-assisted contribution authored with Codex.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to