[ 
https://issues.apache.org/jira/browse/ARROW-15550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17486468#comment-17486468
 ] 

Antoine Pitrou commented on ARROW-15550:
----------------------------------------

Right, but these are compile-time options, which is a bit different. That said, 
we could at least enable those compile-time options when Arrow itself is 
compiled in debug mode.

> [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
>            Priority: Major
>
> 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