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

Running actor service app on a MacOS M1 crashes #1025

Open
chrisdrobison opened this issue May 20, 2024 · 3 comments
Open

Running actor service app on a MacOS M1 crashes #1025

chrisdrobison opened this issue May 20, 2024 · 3 comments

Comments

@chrisdrobison
Copy link

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
@joebowbeer
Copy link
Contributor

Exit code 137 is OOM (out of memory)

@paulyuk
Copy link
Contributor

paulyuk commented Jul 29, 2024

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.

@chrisdrobison
Copy link
Author

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

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

3 participants