-
Notifications
You must be signed in to change notification settings - Fork 2
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
Mac OS: build fails with out-of-memory error #28
Comments
Increasing the memory limit for the build inside the container and as a parameter to the build command did not help:
Then build with:
Same error. |
Setting |
I can't recreate this, but I don't use Mac OS. @ianmilligan1 or @SamFritz can you test with these instructions when you have time? |
Update: build is now failing for different reasons. Setting
Also, on MacOS and Win (I believe), build output gets clipped by Docker Desktop, hiding important information on failing builds. To disable, go to Docker Desktop > Preferences > Docker Engine and set {
"experimental": false,
"features": {
"buildkit": false
},
: The build is now failing with
Does this have to do with Hadoop behaving differently on Mac/Windows? I use Mac OS when I have to 🥲 |
I am working on a new MacOS laptop (M1 Pro 16GB memory). I can reproduce the Are you also on a new Apple chip laptop or on an Intel one @sepastian? I don't know if that matters but I have had some issues with packages here and there since upgrading. |
Could it be a Docker version for y'all? I'm looking at this docker/for-mac#5204 (comment), and that makes sense to me. You shouldn't need 4G of RAM to build |
I'm on the most recent Docker version. My guess is that there's some stuff in there that's built for intel and the emulation for my M1 laptop isn't working perfectly. (For what it's worth, I am able to build aut locally although some of the tests cause trouble) |
I'm on an Intel based Mac @ianmilligan1, so doesn't work in Intel either. True, 4gb aren't required @ruebot. But increasing heap size somewhat is necessary. |
On my Intel Mac I'm running $ docker --version
Docker version 20.10.11, build dea9396 |
@ianmilligan1 can you test this again on main or 1.x.x when you have time? Curious if this is still an issue. |
Tested again and it works! For context, I first just tried with the version of |
Describe the bug
On Mac OS,
docker build -t aut .
fails withjava.lang.OutOfMemoryError: Java heap space
.On Linux, the build succeeds.
To Reproduce
On Mac OS, run
docker build -t aut .
Expected behavior
Build the Docker image.
Screenshots
n/a
Desktop/Laptop (please complete the following information):
Smartphone (please complete the following information):
n/a
Additional context
See the log.txt file attached.
The text was updated successfully, but these errors were encountered: