It should be possible to create a custom memory pool for this purpose and pass it through most APIs.
On Tue, May 31, 2022 at 5:36 PM HK Verma <[email protected]> wrote: > We have an application where a limited amount of memory is present for an > Arrow based Linux service. I can put resource constraints while starting > the service in Linux > <https://www.freedesktop.org/software/systemd/man/systemd.exec.html#LimitCPU=>. > However, I am wondering if it is possible, or recommended, to create a > custom MemoryPool <https://arrow.apache.org/docs/cpp/memory.html> > limiting memory use. > Thanks, > HK >
