spin: On arm64, I get "cannot allocate memory (os error 12)" on executing spin up command

This is regarding the quickstart from the docs. It runs on my X86 laptops just fine. But on arm64 platforms such as Raspberry Pi 3 (1 gb ram) or Arm based EC2 instances(with 2 GB ram), spin build works without any issues but on spin up I get the following error:

Error: failed to create stack pool mapping
caused by:
0: mmap failed to allocate 0x7d3e8888 bytes
1: Cannot allocate memory (os error 12)

Am I low on ram ? do I need more for Arm ? Image attached. Screenshot (20)

About this issue

  • Original URL
  • State: open
  • Created 7 months ago
  • Comments: 15 (6 by maintainers)

Most upvoted comments

To validate an assumption here, could you test by passing the --disable-pooling flag as well, please? (spin up --disable-pooling)

Thanks!