histogram icon indicating copy to clipboard operation
histogram copied to clipboard

Are histogram memory sizes bounded practically?

Open thvasilo opened this issue 7 years ago • 0 comments

By keeping the number of bins constant we ensure that the size of the histograms in memory is bounded, theoretically.

I did some investigation by inserting 100k values into a few histograms and got their average size in memory using sizeof.

I've included the results below, which show a small positive trend as we continue adding values, after all the bins (using 100 here) have been populated.

Is this expected behavior? Is there a way to impose a hard limit on the size of the histograms in memory?

image

thvasilo avatar Feb 12 '18 17:02 thvasilo