Antoine Pitrou created ARROW-15550:
--------------------------------------

             Summary: [C++] Add an environment variable to debug memory
                 Key: ARROW-15550
                 URL: https://issues.apache.org/jira/browse/ARROW-15550
             Project: Apache Arrow
          Issue Type: Wish
          Components: C++, Developer Tools
            Reporter: Antoine Pitrou


It could be useful to allow enabling memory checks at runtime (e.g. check that 
memory was not written out of bounds when a MemoryPool deallocates a buffer). 
For example an environment variable setting 
{{ARROW_DEBUG_MEMORY_POOL=(warn|trap|abort)}}

See https://github.com/apache/arrow/pull/12216 for inspiration




--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to