Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
If none of the above helps - I recommend heaptrack as a tool for tracking down your memory usage.
I've found bytehound helpful for tracking memory leaks: https://github.com/koute/bytehound
Maybe try Leakdice: https://github.com/tialaramex/leakdice in C or rewritten in Rust: https://github.com/tialaramex/leakdice-rust/
Maybe try Leakdice: https://github.com/tialaramex/leakdice in C or rewritten in Rust: https://github.com/tialaramex/leakdice-rust/
Are you aware of egui?
I don't think fasterthanlime wrote an article for this particular video (but his videos are an excellent watch in the world of programming videos), but the corresponding code was published at https://github.com/fasterthanlime/mevi
When you create a window in ImGui, it allocates memory but never releases it, so make sure that you are not creating windows with a different name at each frame. This issue may be related: https://github.com/ocornut/imgui/issues/2636
Have you tried adding miri checks to see specific warnings it suggests? It should have some memory leak checks aswell. https://github.com/rust-lang/miri