Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#67547 - [audacity] memory leak while playing or recording audio on Wayland
Attached to Project:
Community Packages
Opened by Daniel Martí (mvdan) - Monday, 10 August 2020, 17:51 GMT
Last edited by David Runge (dvzrv) - Wednesday, 03 August 2022, 19:32 GMT
Opened by Daniel Martí (mvdan) - Monday, 10 August 2020, 17:51 GMT
Last edited by David Runge (dvzrv) - Wednesday, 03 August 2022, 19:32 GMT
|
DetailsDescription:
For example, try to record a few minutes of Audio on Sway or another Wayland compositor, while keeping the window focused. My memory usage increases at a pretty constant rate. My machine will run out of memory after about 20m, with Audacity using over twelve gigabytes of memory. This exact same issue was reported on Debian (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948364), but I'm filing it here because they haven't found the cause and I'm sure it will confuse other Arch users. Hopefully having an open bug here will make research easier. Additional info: * package version(s): 1:2.4.1-4 * config and/or log files etc: (all defaults) * link to upstream bug report, if any: (there is none) |
This task depends upon
Closed by David Runge (dvzrv)
Wednesday, 03 August 2022, 19:32 GMT
Reason for closing: Upstream
Additional comments about closing: Likely not an issue anymore with >= 3.1.3.
Wednesday, 03 August 2022, 19:32 GMT
Reason for closing: Upstream
Additional comments about closing: Likely not an issue anymore with >= 3.1.3.
There is one workaround, though - if you start recording and minimize the Audacity window, the memory leak appears to stop and the memory usage stays somewhat stable.
I'm just going to say right away, that audacity as a package and as an upstream is in quite the desolate condition which requires a lot of work from any downstream.
For some background, please read this upstream ticket: https://github.com/audacity/audacity/issues/625
The problem you are seeing might very well be related to that.
If time permits in the coming weeks I might attempt a Frankenstein-build of audacity with the wxwidgets fork included, but I'm not yet sure how much time that'll cost, as I also have to switch to cmake and that has many more open issues.