Memory leak when drawing with pangomm/cairomm (MSYS2)
廖骏轩 via gtkmm-list <[email protected]> Tue, 22 Jun 2021 19:33:03 +0800
| Newsgroups | gmane.comp.gnome.gtkmm |
|---|---|
| Message-ID | <[email protected]> |
I have just found out that the Windows version of my project has a massive memory leak, while on Linux it seems alright. It uses pangomm and cairomm to display text, and I believe it’s similar to the examples in the online book, “Programming with gtkmm4”. queue_draw() is called every 100 ms, and in a few minutes the memory usage would reach several GB. If I don’t call queue_draw(), the memory used stays around 100 MB. _______________________________________________ gtkmm-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gtkmm-list