Bad virtual memory limit


Description


The system limits the amount of virtual memory an application can use (see ulimit -Hv). This is likely to prevent Windows applications from working. The reason is that Wine needs to reserve (but not allocate/use) wide swaths of the memory range to prevent Linux libraries from loading in places that Windows applications need for other things.

Resolution


Running ulimit -Hv on the command line should show you the current virtual memory limit. This should show you 'unlimited':
$ ulimit -Hv unlimited

If you get any other result you should look for the location where that limit is set. This will typically be through a call to ulimit in /etc/profile, /etc/bash.bashrc, $HOME/.profile or $HOME/.bashrc.
Last modified on 2020-10-20 06:48:15 by François Gouget
Are you sure you want to delete this page?
Note: Any nested pages that are under this one will be moved up one level. Any attachments tied to this page will be deleted.
Move / Rename Page
Unknown Error, unable to move!
That page exists already!
One or more of the parent pages specified in new path do not exist!
/support/wiki/ /support/wiki/Diag/BadRlimitAS
CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjpudWxsLCJjYXJ0IjowLCJ0enMiOi01LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNjMxNzI3MzA0LCJjc3JmX3Rva2VuIjoibXFaZ21aYVhuSEdRQUdyVCIsImdkcHIiOjB9