vertexclique edited a comment on pull request #7874:
URL: https://github.com/apache/arrow/pull/7874#issuecomment-668039525


   > My original requirement was for a method that would tell me how much 
physical memory is occupied by an array's buffers. I would call this something 
like `get_buffer_memory_size`.
   
   > Others than asked for additional functionality to determine how much of 
the memory is actually being used for data. I suppose I would call this 
something like `get_buffer_utitilized_size`.
   
   > Then there is the idea of an additional method that returns the total 
memory used by an array, including the buffers and other attributes. I'm not 
sure why we need this, personally, but if we do then I suppose 
`get_array_memory_size` would work?
   
   1. Changed to `get_buffer_memory_size` and `get_array_memory_size`. Since 
they correspond to that.
   
   > ... I'm not sure why we need this, personally...
   
   I am using this for memory estimation and eviction calculation in the db 
that I am writing. That is kind of important since these are also giving 
accurate results about what is resident.
   
   plus this is how servo calculates actual memory usage.


----------------------------------------------------------------
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.

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


Reply via email to