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

Memory leak when running examples #945

Open
olafurkarl opened this issue Dec 24, 2023 · 0 comments
Open

Memory leak when running examples #945

olafurkarl opened this issue Dec 24, 2023 · 0 comments

Comments

@olafurkarl
Copy link

Good day, when I run any of the examples I get a massive memory leak. I started noticing it due to my system freezing up while diving into them for the first time.

To reproduce

Check out project

  • Run example, either from command line following instructions in README.md (cargo run --release --example <example_name>), or through rust-analzyer
  • Run top to monitor memory usage
  • Memory will steadily creep up at a steady pace until all system resources are exhausted.
    Running any example reproduces, and running with an empty draw function does as well. I also tried using ::app rather than ::sketch with the same result.

rustc version: rustc 1.74.1 (a28077b28 2023-12-04)

@tychedelia tychedelia mentioned this issue Feb 1, 2024
6 tasks
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