Linux VMware Workstation Not Enough Physical Memory Is Available Error and Solution

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/linux-vmware-workstation-not-enough-physical-memory-available-error-solution/
PINTEREST
PINTEREST
INSTAGRAM

VMware is a Linux based virtualization system which provides rich features. VMware supported by different platforms like Windows, MacOS, Linux. As WMware is a closed source product we need to make some manual work on Linux systems. If we are using Ubuntu, Fedora, Debian, Mint and similar up-to-date systems which owns kernel newer than 4.8 VMware do not works accordingly. In this tutorial we will look the problem and how to fix it.

Not Enough Physical Memory Is Available Error

This error is related with the source code which checks the Linux kernel version. VMware checks for kernels 4.8 and older. But as we know the current Linux kernel used by popular distributions are newer than 4.8 . Here is the screenshot of the error.

Not Enough Physical Memory Is Available Error

Not Enough Physical Memory Is Available Error

Fix The Problem

We need to change the source code of the problem. The source code is locate in the file named vmmon.tar . This file is untarred and compile with the kernel updates or during installation.

Then we will open file named hostif.c . We need root privileges in order to save changes to the file. So we can open hostif.c with sudo like below.

Add the following lines after #include "versioned_atomic.h" line.

Now the second change is replace following lines

with

Compile and load changes with the following command.

LEARN MORE  Linux History Command Tutorial with Examples

Fix The Problem

Fix The Problem

Now we can use VMware without a problem or error.

RSS
EMAIL
FACEBOOK
FACEBOOK
GOOGLE
GOOGLE
https://www.poftut.com/linux-vmware-workstation-not-enough-physical-memory-available-error-solution/
PINTEREST
PINTEREST
INSTAGRAM

You may also like...

3 Responses

  1. ki says:

    this was a life saver, thanks so much!!

  2. maxim says:

    i cant save changes at hostif.c

Leave a Reply

Your email address will not be published.

Enjoy this blog? Please spread the word :)