Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are histogram memory sizes bounded practically? #66

Open
thvasilo opened this issue Feb 12, 2018 · 0 comments
Open

Are histogram memory sizes bounded practically? #66

thvasilo opened this issue Feb 12, 2018 · 0 comments

Comments

@thvasilo
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant