Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-15550

[C++] Add an environment variable to debug memory

    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              apitrou Antoine Pitrou
              apitrou Antoine Pitrou
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h
                  3h