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

Common PC hardware setups OOM when building Hostboot #190

Open
stewartsmith opened this issue Dec 9, 2019 · 2 comments
Open

Common PC hardware setups OOM when building Hostboot #190

stewartsmith opened this issue Dec 9, 2019 · 2 comments

Comments

@stewartsmith
Copy link
Contributor

16GB memory, 8 core Ryzen 7 (with HT, so 16 threads) will OOM when building current hostboot, and adjusting parallelism through buildroot configuration does not seem to take effect.

The culprit appears to be somewhere in image generation, with the objdump processes spawned taking up to 2.2GB memory each.

IIRC this is spawned from the Linker, which probably doesn't respect parallelism and instead grabs nprocs or something.

This is all on Fedora 31.

@dcrowell77
Copy link
Collaborator

Seems odd that the OS wouldn't just swap to disk as needed versus failing with OOM. Do you have some strange virtual memory settings?

@stewartsmith
Copy link
Contributor Author

stewartsmith commented Dec 10, 2019 via email

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

2 participants