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

A calculation with some relatively small numbers runs out of memory #369

Open
masak opened this issue Jul 16, 2021 · 0 comments
Open

A calculation with some relatively small numbers runs out of memory #369

masak opened this issue Jul 16, 2021 · 0 comments

Comments

@masak
Copy link
Owner

masak commented Jul 16, 2021

$ perl -Ilib bin/bel
Language::Bel 0.56 -- msys.
> (/ 8886 16873)
Out of memory!

Never had that one before. I suppose some part of the division calculation is going to try and create a list with 8886 * 16873 = 149933478 t symbols in it, that's ~150 million t symbols. On reflection, I can see why that might use some memory.

In passing, might I say that I'm looking forward to when we have not just bignum support, but when all kinds of weirdness like this is gone.

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