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

kvm2: cannot set up guest memory 'pc.ram': Cannot allocate memory #6366

Closed
mpouyakh7 opened this issue Jan 22, 2020 · 3 comments
Closed

kvm2: cannot set up guest memory 'pc.ram': Cannot allocate memory #6366

mpouyakh7 opened this issue Jan 22, 2020 · 3 comments
Labels
kind/support Categorizes issue or PR as a support question.

Comments

@mpouyakh7
Copy link

The exact command to reproduce the issue:
minikube start

The full output of the command that failed:

The output of the minikube logs command:


Unable to start VM. Please investigate and run 'minikube delete' if possible: start: error creating VM: virError(Code=1, Domain=10, Message='internal error: process exited while connecting to monitor: pu
2020-01-22T12:16:10.342408Z qemu-system-x86_64: cannot set up guest memory 'pc.ram': Cannot allocate memory')

The operating system version:
Linux LTS 18.04

@sharifelgamal
Copy link
Collaborator

By default we specify 2 GB of memory for the minikube VM. You might see this error if you don't have enough RAM on your machine to initialize the VM. Try running cat proc meminfo to see how much memory you have and perhaps starting minikube with the --memory parameter so you can specify a lower amount.

@sharifelgamal sharifelgamal added the kind/support Categorizes issue or PR as a support question. label Jan 22, 2020
@sharifelgamal
Copy link
Collaborator

@mpouyakh7 Did setting the memory command help with your issue?

@mpouyakh7
Copy link
Author

yes, thanks for your response.

@tstromberg tstromberg changed the title Memory allocation kvm2: cannot set up guest memory 'pc.ram': Cannot allocate memory Mar 19, 2020
@tstromberg tstromberg added the needs-solution-message Issues where where offering a solution for an error would be helpful label Mar 19, 2020
@tstromberg tstromberg removed the needs-solution-message Issues where where offering a solution for an error would be helpful label Apr 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question.
Projects
None yet
Development

No branches or pull requests

3 participants