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

histogram OOMs after only 2M entries or so #211

Open
eigenhombre opened this Issue Nov 1, 2013 · 1 comment

Comments

Projects
None yet
1 participant
@eigenhombre

eigenhombre commented Nov 1, 2013

(let [data (repeat 2000000 (rand-int 10))]
  (histogram data :nbins 10))

Gives an out-of-memory error;

(let [data (repeat 1000000 (rand-int 10))]
  (histogram data :nbins 10))

does not. Maybe this is in JFreeChart (hard to fix); but I need to make some large-ish histograms and this is a show-stopper for that at the moment.

Thanks!

@eigenhombre

This comment has been minimized.

Show comment
Hide comment
@eigenhombre

eigenhombre Nov 1, 2013

After further investigation, the (or at least one) place where the OOM occurs seems to be in the (double-array _x) part of histogram*.

eigenhombre commented Nov 1, 2013

After further investigation, the (or at least one) place where the OOM occurs seems to be in the (double-array _x) part of histogram*.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment