You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Will Jones (Jira)" <ji...@apache.org> on 2022/01/31 22:24:00 UTC
[jira] [Closed] (ARROW-15408) [C++] Environment variable to turn on memory allocation logging
[ https://issues.apache.org/jira/browse/ARROW-15408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Will Jones closed ARROW-15408.
------------------------------
Fix Version/s: (was: 8.0.0)
Resolution: Won't Do
Closing in favor of ARROW-3016 and ARROW-15512. See discussion in pull request.
> [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
> Assignee: Will Jones
> Priority: Minor
> Labels: good-first-issue, pull-request-available
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> 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)