note that that would be an upper bound because buffers can be shared
between arrays.
On Wed, Sep 1, 2021 at 2:15 PM Antoine Pitrou wrote:
> On Tue, 31 Aug 2021 21:46:23 -0700
> Rares Vernica wrote:
> >
> > I'm storing RecordBatch objects in a local cache to improve performance.
> I
> > want to
On Tue, 31 Aug 2021 21:46:23 -0700
Rares Vernica wrote:
>
> I'm storing RecordBatch objects in a local cache to improve performance. I
> want to keep track of the memory usage to stay within bounds. The arrays
> stored in the batch are not nested.
>
> The best way I came up to compute the size o
Hello,
I'm storing RecordBatch objects in a local cache to improve performance. I
want to keep track of the memory usage to stay within bounds. The arrays
stored in the batch are not nested.
The best way I came up to compute the size of a RecordBatch is:
size_t arrowSize = 0;