Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qemu-system-x86_64: cannot set up guest memory 'pc.ram': Cannot allocate memory' #3173

Closed
Hitvz opened this issue Sep 27, 2018 · 3 comments
Closed
Labels
cause/vm-networking Startup failures due to VM networking kind/documentation Categorizes issue or PR as related to documentation.

Comments

@Hitvz
Copy link

Hitvz commented Sep 27, 2018

BUG REPORT :
the info is:
E0927 06:33:12.927784 49777 start.go:165] Error starting host: Error starting stopped host: Error creating VM: virError(Code=1, Domain=10, Message='internal error: process exited while connecting to monitor: 2018-09-27T06:33:12.689642Z qemu-system-x86_64: cannot set up guest memory 'pc.ram': Cannot allocate memory')

Environment:

minikube version: v0.25.2
os:ubuntu 18.04 -- in the vmware and memory 752mb

i search this issues , answer is memory too low . i not get the information with kvm memory need in the offical website . so how many memory kvm need to start minikube?

@tstromberg
Copy link
Contributor

2GB by default. You can adjust this setting using --memory down to 1.5GB, but failures might happen:

minikube help start | grep memory
      --memory int                     Amount of RAM allocated to the minikube VM in MB (default 2048)

Just curious, what's does this command output on your machine?

grep "^Mem" /proc/meminfo

@tstromberg tstromberg added the cause/vm-networking Startup failures due to VM networking label Sep 27, 2018
@tstromberg tstromberg changed the title kvm are not enough memory to start minikube qemu-system-x86_64: cannot set up guest memory 'pc.ram': Cannot allocate memory' Sep 27, 2018
@tstromberg tstromberg added the kind/documentation Categorizes issue or PR as related to documentation. label Sep 27, 2018
@afbjorklund
Copy link
Collaborator

@tstromberg : note that the default is 2G memory + 1G swap (some of which is actually being used!)

@Hitvz
Copy link
Author

Hitvz commented Oct 8, 2018

thx,i will up to memory in vmware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cause/vm-networking Startup failures due to VM networking kind/documentation Categorizes issue or PR as related to documentation.
Projects
None yet
Development

No branches or pull requests

3 participants