community/audacity: leaks memory on Wayland
Audacity leaks a lot of memory under Wayland while not under X11. Enforcing Audacity to run under X11 makes it finally usable for recording audio when using Wayland based compositors.
This issue was already reported at other distros and is still open:
Wayland during recording
The memory usage increases every couple of seconds until the whole machine runs out of RAM.
XWayland/X11 during recording
Memory usage is stable, tested for a recording of 20 mins.
Audacity eats all my RAM on Wayland
What should be happening
Audacity is kind and only uses the RAM it needs
- Alpine Linux Edge 64 bit
- Intel® Core™ i5-10400 CPU @ 2.90GHz × 12
- Mesa Intel® UHD Graphics 630 (CML GT2)
- 8GB DDR4 RAM + 4GB Swap
- GNOME 40
Forcing Audacity to run under X with XWayland works around the problem, a workaround patch is proposed in !20769 (merged) until upstream fixes this.