-
-
Notifications
You must be signed in to change notification settings - Fork 475
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
cosmic-applets, rust, out of memory when linking? #1319
Comments
The first thing I would try is to set the https://github.com/rui314/mold/blob/main/docs/mold.md#environment-variables |
on the 16gb machin this worked, have many thanks. on the 8gb machine same error again. this memory consumption changed in the last week(s) what might have caused it? |
I don't think I made a change to affect memory usage. Can you rebuild mold from the last week's commit to see if the mold memory usage really went up? |
The cosmic compilation generally takes a lot of RAM, even without mold. I think you are just getting out of RAM and dont have a big enough Swap. |
when running, i only see rustc as a process, not mold. it runs out of memory when producing the cosmic-applets binary. i notice now that there are more links to it than before, and it is 69M. it is 2 times bigger than the next one in size from cosmic. why does it have such a high memory consumption, and what has such a high memory consumption, technically?
|
I don't think I can debug it for you with that information. If it worked a few weeks ago and it's now broken, please try to bisect it to find out which commit broke your build. |
on arch linux we use mold to build cosmic desktop. one component recently fails on 8gb and 16gb machines. could mold somehow influence the maximum memory consumption?
The text was updated successfully, but these errors were encountered: