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

make dumps out on Mac m1 #7

Open
johnhutch opened this issue Apr 21, 2021 · 3 comments
Open

make dumps out on Mac m1 #7

johnhutch opened this issue Apr 21, 2021 · 3 comments

Comments

@johnhutch
Copy link

johnhutch commented Apr 21, 2021

Or maybe I'm a noob.

Possibly related to underlying crystal issues? https://forum.crystal-lang.org/t/memory-leak-after-upgrading-to-crystal-0-36/3035

  ~/Sites > git clone https://github.com/mint-lang/mint-docker.git
Cloning into 'mint-docker'...
remote: Enumerating objects: 82, done.
remote: Counting objects: 100% (42/42), done.
remote: Compressing objects: 100% (30/30), done.
remote: Total 82 (delta 8), reused 41 (delta 8), pack-reused 40
Unpacking objects: 100% (82/82), done.
  ~/Sites > cd mint-docker/
  ~/Sites/mint-docker > make
docker-compose run --rm --service-ports mint start --host 0.0.0.0
Creating mint-docker_mint_run ... done
Mint - Running the development server
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Ensuring dependencies... 13.429ms
⚙ Parsing files... 117.184ms
GC Warning: Failed to expand heap by 1216512 bytes
GC Warning: Failed to expand heap by 1224704 bytes
GC Warning: Failed to expand heap by 1245184 bytes
GC Warning: Failed to expand heap by 1282048 bytes
GC Warning: Failed to expand heap by 1306624 bytes
GC Warning: Failed to expand heap by 1343488 bytes
GC Warning: Failed to expand heap by 1368064 bytes
GC Warning: Failed to expand heap by 69632 bytes
GC Warning: Out of Memory! Heap size: 3 MiB. Returning NULL!
Invalid memory access (signal 11) at address 0x77c0
[0x4000108e26] ???
[0x400007e7dc] ???
[0x4000cecfea] ???
[0x4000d045dc] ???
ERROR: 11
make: *** [server] Error 11
@gdotdesign
Copy link
Member

I think it's either an issue with Docker Desktop on M1 or Crystal itself on M1, for previous discussion see mint-lang/mint#391

@johnhutch
Copy link
Author

Noted, thanks for the info! I'll update here if/when I see it resolved.

@Sija
Copy link
Member

Sija commented Oct 25, 2023

@johnhutch Any news?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants