I rarely experience out-of-memory problems, but last time it was due to a bug in kwin_wayland when I opened it in a window and I was testing something...