pitrou commented on issue #40301:
URL: https://github.com/apache/arrow/issues/40301#issuecomment-2046862382

   Ok, so this is really the initial pre-sizing of the memo tables.
   
   However, the problem here is wrongly interpreting the observations. The 1+GB 
are not so much "allocated" than pre-reserved by the allocator (mimalloc or 
jemalloc). Those are empty pages are most probably not backed by physical 
memory until they are actually used by the application (Arrow). The only thing 
allocated is virtual address space, and virtual address space is virtually 
infinite (up to 2**48 bytes per process).
   
   The actual amount of allocated physical memory is the amount necessary for 
each 32-element memo table, and that is bound to be very small.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to