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

Example always OOMs when run in --release mode #543

Open
itsmathtime opened this issue Dec 4, 2024 · 1 comment
Open

Example always OOMs when run in --release mode #543

itsmathtime opened this issue Dec 4, 2024 · 1 comment

Comments

@itsmathtime
Copy link

I have this relatively simple example that runs differently in release and debug mode.
In debug mode, it is (as expected) slow, uses little memory (1-2GB), and finishes fine.
In release mode, it is much faster, but then gets into what seems to be an infinite loop where it allocates more and more memory untill it terminates. I have tested this on a machine with over 200GB of RAM, and it still OOMS and gets killed by Linux.

A full reproducible example is here: https://github.com/itsmathtime/ddf-oom-example

@frankmcsherry
Copy link
Member

We should have you cargo update! You are on timely and differential 0.12, which are now years old and have some unsafe that has become unsound in the intervening years. Fortunately, we've started a better release cadence pushing out the current versions (it's been fixed for a while now, just not on crates.io).

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

2 participants