gfphoenix78 commented on PR #1054:
URL: https://github.com/apache/cloudberry/pull/1054#issuecomment-3044100137

   > A side question about PAX not related to this pr: as far as I can see PAX 
relies on C++ memory allocators. It doesn't use PG memory contexts, right? This 
may become problematic for production cases with high memory usage when 
overcommit is off.
   
   Yes, the c++ code doesn't use PG memory context. Because we expect to scan 
multiple pax data file concurrently. High memory usage may throw an exception 
that will be caught by the wrapper code. When the wrapper catches an exception, 
it will raise a PG error, the c++ objects will be released in the clean stage.


-- 
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