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

bug: build from source fails for out of memory on bionic-based systems with less than 3GB of RAM and without swap #9513

Open
2 tasks done
tallero opened this issue Dec 7, 2024 · 3 comments
Labels
A-compatibility Area: compatibility A-releases Area: releases/packaging T-bug Type: bug

Comments

@tallero
Copy link

tallero commented Dec 7, 2024

Component

Forge

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

v1.0.0

What command(s) is the bug in?

No response

Operating System

Linux

Describe the bug

Oh, cargo goes simply out of memory at link time. I was wondering if it was available an option to dilute memory usage even though I doubt there will be.
I suppose I should rebuild Android kernel to enable some swap if I want to build it bare-metal.

@tallero tallero added T-bug Type: bug T-needs-triage Type: this issue needs to be labelled labels Dec 7, 2024
@github-project-automation github-project-automation bot moved this to Todo in Foundry Dec 7, 2024
@tallero
Copy link
Author

tallero commented Dec 7, 2024

Mmm, it seems v1.0.0 tag is no more.
Well, anyway the issue arises also with latest nightly.
The build script I use to build on the Life / DogeOS Android base is here btw.

@tallero
Copy link
Author

tallero commented Dec 7, 2024

Ok no actually it doesn't build not even on the x86_64 GNU/Linux environment.
Here is the log but I suppose I should open a new issue.
build.log

@grandizzy
Copy link
Collaborator

@DaniPopes could you pls share your thoughts re this?

@zerosnacks zerosnacks added A-releases Area: releases/packaging A-compatibility Area: compatibility and removed T-needs-triage Type: this issue needs to be labelled labels Dec 13, 2024
@zerosnacks zerosnacks changed the title Build fails for out of memory on bionic-based systems with less than 3GB of RAM and without swap. bug: build from source fails for out of memory on bionic-based systems with less than 3GB of RAM and without swap Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-compatibility Area: compatibility A-releases Area: releases/packaging T-bug Type: bug
Projects
Status: Todo
Development

No branches or pull requests

3 participants