Weston Pace created ARROW-12584:
-----------------------------------

             Summary: [C++][Python] Expose method for benchmarking tools to 
release unused memory from the allocators
                 Key: ARROW-12584
                 URL: https://issues.apache.org/jira/browse/ARROW-12584
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C++, Python
            Reporter: Weston Pace


A team working on Arrow benchmarks encountered a problem where the mimalloc 
allocator was holding onto considerably more RAM than needed (at least 6GB and 
potentially more).

Mimalloc offers the `mi_collect` non-standard API which forces mimalloc to 
release unused pages to the OS.  We could expose this to be called by 
benchmarking tools to get consistent results and reduce the amount of RAM 
needed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to