nannou-org/nannou

Memory leak when running examples

Opened this issue · 0 comments

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)