Some kinds of memory leaks may be difficult to unit test for, and they may not cause valgrind errors necessarily
I had written some ad hoc leak tests in https://github.com/apache/arrow/blob/master/python/scripts/test_leak.py. We have some more of this in ARROW-3324.
It would be useful to be able to create a sort of "test suite" of memory leak checks. They are a bit too intensive to run in CI (since you may have to run something many iterations to see whether it leaks), but we could run them in a nightly build
Reporter: Wes McKinney / @wesm
Assignee: Wes McKinney / @wesm
Related issues:
PRs and other links:
Note: This issue was originally created as ARROW-4120. Please see the migration documentation for further details.