-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
The build process is being killed on M2 processor #30
Comments
This is an unfortunate consequence of pandoc/dockerfiles#134. We built on those images, so there is nothing we can do until that issue is done. |
I'm on a M1 and also got the "Killed" response. After following the process with $ docker stats it appears that the process runs out of memory during document building when using the default Docker settings. On my Mac, the default Docker memory limit was 7.9 GB and the process requires 12.94 GB of RAM during the execution of the After bumping the default limit from 8 GB to 14 GB, the process does finish and takes about 3 minutes. On my x86 Linux it took only about 30 seconds. So it's about 5 times is slow while this processor is in general much quicker than my x86 was. In summary, it does work when setting the memory limits to at least 13 GB, but it does run very inefficient. EDIT: rust-lang/cargo#10583 appears related as does docker/for-mac#5179 (comment). Root cause appears to be static memory (bytecodealliance/wasmtime#1895). |
FYI, pandoc 3.5 now claims to support multi-architecture builds for the |
I'm considering a switch to |
I have the following script to compile my paper:
Somewhere in the middle of the process I get "Killed" message.
In the beginning docker complains with the following warning:
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
I tried to set
--platform linux/arm64/v8
, but it seems that there is no such image available.The text was updated successfully, but these errors were encountered: