VMware Communities
deanb2
Contributor
Contributor

Workstation 10.0.3 crashing with 'Unable to allocate locked memory' error

When I run 2 VMs with 2GB of memory each, one will crash within a few minutes.

If I run 1 VM with 2GB and one with 1GB, it has crashed once.

If if run the second one with 512MB, it hasn't crashed yet.

Host is running Windows 7 Professional 64bit SP1, with 8GB of memory, and Workstation memory limit is set to 6GB with allow most virtual machine memory to be swapped.

Guest OS's are Windows 2003 Server R2 SP2.

2014-08-07T09:26:03.256-06:00| vcpu-1| W110: IOCTL_VMX86_ALLOC_LOCKED_PAGES failed: Unknown error -1 (0xffffffff)

2014-08-07T09:26:03.256-06:00| vcpu-1| I120: AnonPageFail:MemSched: caller 0 numvm 2 locked pages: num 629564 max 1119040

2014-08-07T09:26:03.256-06:00| vcpu-1| I120: MemSched: locked Page Limit: host 1553098 config 1560064 dynam 1135424

2014-08-07T09:26:03.256-06:00| vcpu-1| I120: MemSched: minmempct 25  timestamp 291639

2014-08-07T09:26:03.256-06:00| vcpu-1| I120: MemSched: VM 0 min 146629 max 539845 shares 524288 paged 101073 nonpaged 10594 anonymous 4963 locked 410715 shared 0 sharedUsr 4375 touchedPct 48 dirtiedPct 34 timestamp 291639 vmResponsive is 1

2014-08-07T09:26:03.256-06:00| vcpu-1| I120: MemSched: VM 1 min 78465 max 275073 shares 262144 paged 100814 nonpaged 9930 anonymous 2999 locked 218849 shared 0 sharedUsr 7968 touchedPct 24 dirtiedPct 13 timestamp 291639 vmResponsive is 1

2014-08-07T09:26:03.256-06:00| vcpu-1| I120: MemSched: locked 411032 target 539845 balloon 0 0 340787 swapped 32459 116 0 allocd 203 512 state 0 100

2014-08-07T09:26:03.256-06:00| vcpu-1| I120: MemSched: states: 0 3713 : 1 0 : 2 0 : 3 0

2014-08-07T09:26:03.256-06:00| vcpu-1| I120: MemSched: Balloon enabled 1 guestType 4 maxSize 0

2014-08-07T09:26:03.256-06:00| vcpu-1| I120: MemSched: COWStats [0]: Hot Page: P1    0x20202020 2

2014-08-07T09:26:03.256-06:00| vcpu-1| I120: MemSched: COWStats [0]: Hot Page: P2    0x89e97408000004c0 2

2014-08-07T09:26:03.256-06:00| vcpu-1| I120: MemSched: COWStats [0]: Hot Page: P1    0x79a94ec0 7

2014-08-07T09:26:03.256-06:00| vcpu-1| I120: MemSched: COWStats [0]: Hot Page: P1    0xffffffff 10

2014-08-07T09:26:03.256-06:00| vcpu-1| I120: MemSched: COWStats [0]: Hot Page: Z     0 4368

2014-08-07T09:26:03.256-06:00| vcpu-1| I120: MemSched: COWStats [0]: shared 4389 4368 breaks 197255 197009 inits 189064 pool 8 overflow 0

2014-08-07T09:26:03.256-06:00| vcpu-1| W110: IOCTL_VMX86_ALLOC_LOCKED_PAGES failed: Unknown error -1 (0xffffffff)

2014-08-07T09:26:03.256-06:00| vcpu-1| I120: Unable to allocate locked memory. Aborting the virtual machine.

2014-08-07T09:26:03.256-06:00| vcpu-1| W110: Win32 object usage: GDI 17, USER 22

2014-08-07T09:26:03.256-06:00| vcpu-1| I120: CoreDump_CoreDump: faking exception to get context

2014-08-07T09:26:03.279-06:00| vcpu-1| W110: CoreDump: Writing minidump to C:\Virtual Machines\barprt2\vmware-vmx-11108.dmp

0 Kudos
2 Replies
continuum
Immortal
Immortal

You now have  prefvmx.minVmMemPct = "25" in config.ini
Trz to lower the value to 10 or 5


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

0 Kudos
deanb2
Contributor
Contributor

Thanks, but that made it worse

0 Kudos