quickstarts icon indicating copy to clipboard operation
quickstarts copied to clipboard

Running actor service app on a MacOS M1 crashes

Open chrisdrobison opened this issue 1 year ago • 3 comments

Expected Behavior

The actor service app runs without issue.

Actual Behavior

I'm on a Mac M1. Running:

dapr run --app-id actorservice --app-port 5001 --dapr-http-port 3500 --resources-path ../../../resources -- dotnet run --urls=http://localhost:5001/

from the actor quickstart crashes with an exit code of 137.

Here is my Dapr version info:

CLI version: 1.13.0 
Runtime version: 1.13.2

Steps to Reproduce the Problem

  1. Follow the instructions for the actor quickstart app
  2. Run the line to start the actor service app

chrisdrobison avatar May 20 '24 12:05 chrisdrobison

Exit code 137 is OOM (out of memory)

joebowbeer avatar Jul 21 '24 11:07 joebowbeer

hi @chrisdrobison - I'm doing the development for these quickstarts pretty exclusively on a Mac m1 so that gets some testing coverage. I cannot reproduce this yet.

Could you please share your memory and CPU before and after the dapr run ... ? I think @joebowbeer might be onto something with memory running out.

also note, you should be able to run this a folder higher /quickstarts/actors/csharp/sdk/ with a dapr run -f . which runs all the services at once.

paulyuk avatar Jul 29 '24 02:07 paulyuk

Ok, I will take a look and get back to you.

chrisdrobison avatar Jul 29 '24 15:07 chrisdrobison

please reopen if this is persisting. We'd fix it.

paulyuk avatar Jan 24 '25 00:01 paulyuk