You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "alamb (via GitHub)" <gi...@apache.org> on 2023/08/04 18:30:45 UTC

[GitHub] [arrow-datafusion] alamb commented on issue #898: Track total memory allocation used by DataFusion plans

alamb commented on issue #898:
URL: https://github.com/apache/arrow-datafusion/issues/898#issuecomment-1666023082

   I am happy to report this is now possible by using a memory pool (simply ask for how much space it has left)
   
   https://docs.rs/datafusion/latest/datafusion/execution/memory_pool/trait.MemoryPool.html#tymethod.reserved
   
   You can use https://docs.rs/datafusion/latest/datafusion/execution/memory_pool/struct.GreedyMemoryPool.html if you only want to track the memory


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org