Hello, You're right, the problem is linked with the memory and swapoff was a workaround that worked only if the need of memory was not too high.
I installed a kernel 5.4, and the problem also disapeared. I will stay with this, even if the laptop is not in stand by mode when I close the lid. Before installing the new kernel it was easy to reproduce, just open an app that need a lot of memory (intellij idea) and a few chromium tabs, but as the system freezed I could not even access to a terminal. Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1855469 Title: gnome-shell lags on wayland To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1855469/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs