Closed Henderz closed 2 years ago
/home/rin/Documents/Workspace/vcpkg/buildtrees/onednn/install-x64-linux-dbg-out.log
Please provide the logs :)
Sorry, I thought I did. install-x64-linux-dbg-out.log
from the log: collect2: fatal error: ld terminated with signal 9 [Killed]
, after a few seconds of googling it seems that your system ran out of memory
Oh.. that makes sense.. My system does freeze midway during the build and eventually when it recovers, I see this error. But then I have a 32 GB RAM.. Is there something I can do to prevent this?
Hm, maybe restart your pc so that the initial memory usage is low. How many cores do you have?
Thanks for binging my attention to the relavent error. I didn't think this line meant anything. I will google and try other solutions like increasing Swap disk or running "cargo run --release --verbose --jobs 1" whatever that does ;)
I have tried restarting and having this as the only frontend process running. I have 12 cores - an AMD Ryzen 9 3900X.
12 core, 25 jobs, this isn't much average RAM per job. You may try to limit the job count via VCPKG_MAX_CONCURRENCY
.
12 core, 25 jobs, this isn't much average RAM per job. You may try to limit the job count via
VCPKG_MAX_CONCURRENCY
.12 core, 25 jobs, this isn't much average RAM per job. You may try to limit the job count via
VCPKG_MAX_CONCURRENCY
.
Thank you for you suggestion @dg0yt. I tried setting this to 8 in the vcpkg.cmake file with the following statement. set(VCPKG_MAX_CONCURRENCY 8)
It didn't help. The system froze again for a long time before I force rebooted. Am I setting this correctly? Is there anything else I can try?
We hope your question was answered to your satisfaction; if it wasn't, you can reopen with more info.
Yes, Thank you. Although I don't recall now what I did to get the build, I'm sure it was your observation that RAM would be split between different threads and limiting concurrency were key in solving it. Thank you! :-)
Last not least, VCPKG_MAX_CONCURRENCY
is an environment variable.
Host Environment
To Reproduce Steps to reproduce the behavior:
./vcpkg install onednn[core]:x64-linux [install-x64-linux-dbg-out.log](https://github.com/microsoft/vcpkg/files/6894758/install-x64-linux-dbg-out.log)
Failure logs