[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
"Cannot allocate memory" when run vmware-workstation binary for Linux
- To: misc@openbsd.org
- Subject: "Cannot allocate memory" when run vmware-workstation binary for Linux
- From: Zoong PHAM <zoong@zoong.com>
- Date: Sat, 1 Jan 2005 22:44:06 +1100
- Mobile: +61-408036911
- Organization: Zoong IT Consulting
- User-Agent: Mutt/1.4.2i
- WWW: http://www.zoong.com
When trying to power on a virtual machine
I get this message "Cannot allocate memory".
And in /var/log/message there is a message
"Jan 1 22:19:30 garlic /bsd: vmmon: Vmx86_ReleaseVM: unlocked pages: 0, unlocked dirty pages: 0"
I installed the binary vmware-workstation-3.2.1-2242 for
Linux and enable running Linux binaries in /etc/sysctl.conf.
Basically I followed the instruction at:
http://www.monkey.org/~marius/pages/?page=VMWare_for_OpenBSD
I use OpenBSD-3.6 with all the patches, 512MB RAM.
According to vmstat and top, I still have about 350MB RAM free.
In vmware, I set the virtual machine to run various OS as the guess
OS with 128MB RAM (vmware's minimum recommendation).
I tried with lower and higher setting for the guess OS RAM above
without any luck.
And I also tried with ulimit and login.conf to set most
of the settings related to memory to "infinity" but the problem still exists.
Here is the output of ulimit -a
# ulimit -a
time(cpu-seconds) unlimited
file(blocks) unlimited
coredump(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 32768
lockedmem(kbytes) 454544
memory(kbytes) 454544
nofiles(descriptors) 1024
processes 532
#
Any help would be very appreciated.
Thanks,
Zoong Pham