-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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]: Mojo hello world binary size unreasonably large #1751
Comments
a whopping 4 megabytes before stripping, and 544KB after, here mojo 0.7.0 (af002202), archlinux |
woof, thanks for filing! We'll take a look at the stripping flags in binary generation |
Looks like it was fixed in 24.1. On my Mac the binary size is 533 KB after build and 355 KB after |
Yep, this should be fixed now! Please re-open if you still see if you see this again! |
Thanks River. However, doesn't the comment from @toiletsandpaper imply that it's Not fixed? If we need to use the On macOS, I get a size of 272K for a simple Could you please clarify if the presence of unnecessary symbols is still an issue? |
Yeah, we may have some symbols that could still be stripped further, we'll need to investigate which symbols those are exactly. I marked this as fixed for the original underlying issue of being "unreasonably large"(the several mb was the big issue, digging into the last 60kb is not as pressing). We should open another issue to explore that last mile, but it's good to keep that exploration separate (we do have some symbols that only get used in certain scenarios, but we should certainly try to strip out all symbols that definitely won't be needed). |
Ah got it. That makes sense. Thanks for clarifying! |
seems to re-appearing in v24.2.1 @River707
On linux the binary size for hello world is 4.3MB by default |
Bug description
Binary file large in mojo 0.7.0
Reoccurrence of BUG #599 which was resolved in 0.3.0.
Steps to reproduce
System information
The text was updated successfully, but these errors were encountered: