Celeb Glow
general | March 18, 2026

virtual memory exhausted while using wine

I have two machines - a laptop and a desktop, both running Pangolin. Wine works fine on laptop, but it doesn't work at all on my desktop. It was working until a couple of days ago, but has stopped working since then. Every time I try to run wine, I get "virtual memory exhausted" error.

I googled around a bit, and came across two suggestions:

  • removing ".wine" directory from home.
  • adding the current user to "audio" group.

I tried both, but neither fixes the problem for me. Please help.

2 Answers

Upgarding wine fixed the problem.

sudo apt-add-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine

Since Wine is talking about a VM, a quick solution is to turn off the swap and back on to empty the swap partition.

sudo swapoff -a
sudo swapon -a

This is more likely the result of too much RAM being used and not enough swap on the HDD.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy