Replies: 1 comment
-
Memory pools are thread-safe and threading is handled by the memory allocator. So if you're using the jemalloc or mimalloc memory pools, these modern allocators will have their own thread-local caches and internal pools. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I need to read multiple files in parallel using the arrow cpp dataset API or the Parquet API. Most of the objects used would be constructed from each thread but for instance the default arrow memory pool would be the same. Is this a problem? I would need to also construct a memory pool per thread/task. I was thinking to use something along these lines (with the dataset api or the parquet API).
thanks
Beta Was this translation helpful? Give feedback.
All reactions