You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2022/02/03 12:36:00 UTC

[jira] [Created] (ARROW-15550) [C++] Add an environment variable to debug memory

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)