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

M1 Mac crashes when using --memory flag #324

Closed
1 of 3 tasks
beauwest opened this issue Jun 7, 2022 · 1 comment
Closed
1 of 3 tasks

M1 Mac crashes when using --memory flag #324

beauwest opened this issue Jun 7, 2022 · 1 comment

Comments

@beauwest
Copy link

beauwest commented Jun 7, 2022

Describe the Issue

I tried to run the colima start command with custom CPU, memory, and disk values.

colima start --cpu 4 --memory 6 --disk 64

The entire computer froze for a few seconds, and then crashed and rebooted. I did some more testing, and the CPU and disk flags are fine, the memory one causes the problem. Even just a simple colima start --memory 6 causes the crash.

The colima list command shows a default VM in a "Broken" state, with the correct memory value.

Version

Colima Version:

colima version 0.4.2
git commit: f112f33

runtime: docker
arch: aarch64
client: v20.10.17
server: v20.10.11

Lima Version:

limactl version 0.11.0

Qemu Version

qemu-img version 7.0.0
Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers

Operating System

  • macOS Intel
  • macOS m1
  • Linux

MacBook Pro (16-inch, 2021)
Mac OS 12.1 (21C52)
Chip: Apple M1 Max
Memory: 32GB

To Reproduce

Steps to reproduce the behavior:

  1. Run colima start --memory 6

Expected behavior

A new colima profile is created.

Additional context

Running a plain colima start with default values works just fine. It's the custom memory value that causes a crash.

@beauwest
Copy link
Author

beauwest commented Jun 7, 2022

Ugh. I searched, posted, then searched again… Duplicate of #310 I think.

@beauwest beauwest closed this as completed Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant