https://bugs.kde.org/show_bug.cgi?id=520213
Bug ID: 520213
Summary: KWin Wayland causes excessive swap usage with Java
applications despite available RAM
Classification: Plasma
Product: kwin
Version First 6.6.4
Reported In:
Platform: Ubuntu
OS: Linux
Status: REPORTED
Severity: major
Priority: NOR
Component: wayland-generic
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
When running KDE Plasma on Wayland, Java applications (specifically Minecraft
via PolyMC)
are incorrectly swapped to disk despite having large amounts of free RAM
available (11GB+).
The same application runs normally with zero swap usage on GNOME Wayland.
System:
- Ubuntu 26.04 LTS (resolute)
- KDE Plasma 6.6.4
- Kernel 7.0.0-15-generic
- AMD Ryzen 7 5825U with Radeon Graphics (Barcelo/Renoir integrated GPU)
- 13GB RAM, 4GB Swap
- Mesa 26.0.3
*Steps to reproduce*:
1. Login to KDE Plasma Wayland session
2. Launch Minecraft via PolyMC with -Xmx4224m
3. Check swap usage with: for file in /proc/*/status; do awk
'/VmSwap|Name/{printf $2 " " $3}END{print ""}' $file; done | sort -k2 -n -r |
head -5
*Expected result*:
Java uses available RAM normally (as it does on GNOME Wayland)
*Actual result*:
Java process uses 2-4GB of swap despite 11GB of free RAM, causing severe
performance degradation
--
You are receiving this mail because:
You are watching all bug changes.