Will Jones created ARROW-15408:
----------------------------------
Summary: [C++] Environment variable to turn on memory allocation
logging
Key: ARROW-15408
URL: https://issues.apache.org/jira/browse/ARROW-15408
Project: Apache Arrow
Issue Type: Improvement
Components: C++
Affects Versions: 6.0.1
Reporter: Will Jones
Fix For: 8.0.0
In Python, there is a [{{log_memory_allocations}}
function|https://github.com/wesm/arrow/blob/33111644be84f84ce4601889fee06c6d17f05279/python/pyarrow/memory.pxi#L63]
to change to use the LoggingMemoryPool. It would be nice to be able to do this
in C++ and one very convenient way would be through an environment variable,
since we already support {{ARROW_DEFAULT_MEMORY_POOL}}. Should probably be
named something like {{ARROW_LOG_MEMORY_ALLOCATIONS}}.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)