VMware Memory Problem.

Winuser

Well-known member
Power User
VIP
Local time
4:19 PM
Posts
974
I'm trying to run Linux Mint 20.2 in VMware and I have to set the memory in the VM below 2GBs or Linux Mint will not boot. I get this error.

Mint20.2.jpg
Is there a setting I need to change. It was working OK when I had the memory in the VM set to 4GB. Rebooting didn't help.
 

My Computer

System One

  • Operating System
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    PowerSpec B746
    CPU
    Intel Core i7-10700K
    Motherboard
    ASRock Z490 Phantom Gaming 4/ax
    Memory
    16GB (8GB PC4-19200 DDR4 SDRAM x2)
    Graphics Card(s)
    NVIDIA GeForce GTX 1050 TI
    Sound Card
    Realtek Audio
    Monitor(s) Displays
    Samsung SAM0A87
    Screen Resolution
    1920 x 1080
    Hard Drives
    NVMe WDC WDS100T2B0C-00PXH0 1TB
    Samsung SSD 860 EVO 1TB
    Keyboard
    HP USB Kekboard
    Mouse
    2.4 wireless mouse
    Browser
    Microsoft Edge and Firefox

cereberus

Well-known member
Power User
VIP
Local time
9:19 PM
Posts
380
Need more info e.g.

How much RAM do you have?

What have you set for VMs.

Are you using dynamic RAM?

You really need 16 GB RAM to comfortably run VMS, leaving around 8GB for Host.

If only 8 GB, I would set VM to max 4 GB. You shoukd also have pagefiling set to automatic.
 

My Computer

System One

  • Operating System
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0

Winuser

Well-known member
Power User
VIP
Thread Starter
Local time
4:19 PM
Posts
974
My laptop has 8 GBs of ram. I have only went as high as 4GBs for the VM. This use to work without a problem. I think the problem started with one of the Windows 11 updates. I rarely use the VM so I don't know when this problem started.
 

My Computer

System One

  • Operating System
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    PowerSpec B746
    CPU
    Intel Core i7-10700K
    Motherboard
    ASRock Z490 Phantom Gaming 4/ax
    Memory
    16GB (8GB PC4-19200 DDR4 SDRAM x2)
    Graphics Card(s)
    NVIDIA GeForce GTX 1050 TI
    Sound Card
    Realtek Audio
    Monitor(s) Displays
    Samsung SAM0A87
    Screen Resolution
    1920 x 1080
    Hard Drives
    NVMe WDC WDS100T2B0C-00PXH0 1TB
    Samsung SSD 860 EVO 1TB
    Keyboard
    HP USB Kekboard
    Mouse
    2.4 wireless mouse
    Browser
    Microsoft Edge and Firefox

cereberus

Well-known member
Power User
VIP
Local time
9:19 PM
Posts
380
My laptop has 8 GBs of ram. I have only went as high as 4GBs for the VM. This use to work without a problem. I think the problem started with one of the Windows 11 updates. I rarely use the VM so I don't know when this problem started.
I did some tests a while back and contrary to popular perception, modern Linux distros really needed around 5 GB to run without excess paging but that was Ubuntu in enhanced mode. Sure you can use lite versions which will run in less than 2 GB but they are not really that user orientated.

In other tests, I found W10 often used less memory than W8/W7. In part memory compression helps, but in the end it is just more memory efficient. I can still run it on my 1 GB tablet albeit sedately.

Now I know how to get sound on Ubuntu in a HyperV VM, I only use HyperV now. I tend to use fixed memory assignment rather than dynamic memory, mainly as it was a bit flakey at one time but I admit I have not tried dynamic memory for a while.

As HyperV is a type one hypervisor, it does not consume so much memory overhead as well.

So although I cannot directly answer re. VMWare as I have not used it for a while, I am guessing there is a dynamic memory setting which may help, as it will use as much as it needs and if not enough, it will page.

However, as I said 8GB is barely enough to run VMs. I added 4GB to my old laptop taking it to 12GB (couldn't afford 8 GB at the time) and it made a big difference, with VMs on HyperV running fine in regards to memory usage.
 

My Computer

System One

  • Operating System
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0

Hopachi

Active member
Local time
10:19 PM
Posts
61
I'm also not using VMWare nowadays but it seems the host consumes or reserves more memory than before where it leaves the Workstation VM with less available.
Giving 4GB out of total of 8GB to VM is on the edge and maybe risky. Depending on usage on the host, a few browser tabs would already fill quite some memory in parallel with the VM running...

You could try this in the VM settings:
Code:
vmmon.disableHostParameters = "TRUE"

Others have reported it works with 8GB on host.

 

My Computers

System One System Two

  • Operating System
    Linux: Fedora 3x 64-bit / Windows 10 Pro 64-bit in VM
    Computer type
    Laptop
    Manufacturer/Model
    TOSHIBA Tecra W50-A
    CPU
    Intel i7-4810MQ
    Motherboard
    TOSHIBA, Intel QM87 Express Chipset
    Memory
    32GB DDR3 @1600
    Graphics Card(s)
    Nvidia Quadro K2100M - 2GB
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    15.6' built-in + LG-32ML600M
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung SSD 840 250GB + Samsung SSD QVO 2TB
    PSU
    180W adapter
    Cooling
    The usual airflow + docked to station - PA5117E-1PRP
    Keyboard
    Backlit built-in + Logitech Orion G610
    Mouse
    SteelSeries Rival 100 Red
    Internet Speed
    Good enough
    Browser
    Chromium, Edge, Firefox
    Antivirus
    Windows Defender
  • Operating System
    Windows 10 Pro 64-bit
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom Build
    CPU
    AMD Ryzen 7 1800X
    Motherboard
    MSI Mortar B350M
    Memory
    32GB DDR4 @2666
    Graphics card(s)
    GYGABYTE AORUS Radeon RX580 8G
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    Medion 27'
    Screen Resolution
    1920x1080
    Hard Drives
    WD Black 3D NAND SSD 250 GB NVMe + 4x HDD WD Blue 500GB 2.5'
    PSU
    Corsair Builder CX550M
    Case
    Fractal Design Define Mini (Black)
    Cooling
    Noctua NH-D15S
    Mouse
    Good one, with cable / long tail
    Keyboard
    Lenovo SK-8825(L)
    Internet Speed
    N/A
    Browser
    Firefox
    Antivirus
    Windows Defender

Winuser

Well-known member
Power User
VIP
Thread Starter
Local time
4:19 PM
Posts
974
To my surprise I can set the memory to 4GBs again. I can't explain why because I didn't make any changes.
 

My Computer

System One

  • Operating System
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    PowerSpec B746
    CPU
    Intel Core i7-10700K
    Motherboard
    ASRock Z490 Phantom Gaming 4/ax
    Memory
    16GB (8GB PC4-19200 DDR4 SDRAM x2)
    Graphics Card(s)
    NVIDIA GeForce GTX 1050 TI
    Sound Card
    Realtek Audio
    Monitor(s) Displays
    Samsung SAM0A87
    Screen Resolution
    1920 x 1080
    Hard Drives
    NVMe WDC WDS100T2B0C-00PXH0 1TB
    Samsung SSD 860 EVO 1TB
    Keyboard
    HP USB Kekboard
    Mouse
    2.4 wireless mouse
    Browser
    Microsoft Edge and Firefox

Hopachi

Active member
Local time
10:19 PM
Posts
61
My guess remains the variable memory allocation the host reserves and the fact that you are on the max reasonable limit given to the VM (4 out of 8GB).

Have you tested with the tweak I mentioned?
If not, this is still unsolved as there is no guarantee the issue won't start again.

Fingers crossed this remains up and running for you.
🤞
 

My Computers

System One System Two

  • Operating System
    Linux: Fedora 3x 64-bit / Windows 10 Pro 64-bit in VM
    Computer type
    Laptop
    Manufacturer/Model
    TOSHIBA Tecra W50-A
    CPU
    Intel i7-4810MQ
    Motherboard
    TOSHIBA, Intel QM87 Express Chipset
    Memory
    32GB DDR3 @1600
    Graphics Card(s)
    Nvidia Quadro K2100M - 2GB
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    15.6' built-in + LG-32ML600M
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung SSD 840 250GB + Samsung SSD QVO 2TB
    PSU
    180W adapter
    Cooling
    The usual airflow + docked to station - PA5117E-1PRP
    Keyboard
    Backlit built-in + Logitech Orion G610
    Mouse
    SteelSeries Rival 100 Red
    Internet Speed
    Good enough
    Browser
    Chromium, Edge, Firefox
    Antivirus
    Windows Defender
  • Operating System
    Windows 10 Pro 64-bit
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom Build
    CPU
    AMD Ryzen 7 1800X
    Motherboard
    MSI Mortar B350M
    Memory
    32GB DDR4 @2666
    Graphics card(s)
    GYGABYTE AORUS Radeon RX580 8G
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    Medion 27'
    Screen Resolution
    1920x1080
    Hard Drives
    WD Black 3D NAND SSD 250 GB NVMe + 4x HDD WD Blue 500GB 2.5'
    PSU
    Corsair Builder CX550M
    Case
    Fractal Design Define Mini (Black)
    Cooling
    Noctua NH-D15S
    Mouse
    Good one, with cable / long tail
    Keyboard
    Lenovo SK-8825(L)
    Internet Speed
    N/A
    Browser
    Firefox
    Antivirus
    Windows Defender
Top Bottom