-
Notifications
You must be signed in to change notification settings - Fork 194
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
Why is standalone app package so big? Does it reduce fat in future? #473
Comments
Hi there, yes there is lots of space for optimization there. We are in a pre alpha stadium and the current packaging implementation is by no means done (actually packaging isn't really scheduled to ship untilt he RC1). Most of the packaging code (or well.. almost all of it) is in the furoshiki code. Thanks for the report, |
200M sounds way to big. If I'm not mistaken, there we some talk about this on the mailing list and we got it down to ~35MB fairly easily. I have no idea why it's so big again. |
Maybe it was just talk and we didn't implement it yet? :-) I also feel like there was some talk about that on either the ML or an issue here, would be great if somebody could digg that up (I tried yesterday but failed) |
I'm 99.9% sure that it was in. I think what might have happened after that is that the package got bloated again. In any case we need to look into it. |
Okay I'll make an issue on furoshiki and cross reference. |
No pictures needed, we believe you but thanks anyway! =) 👍 Will have to check what goes into that JAR.. SWT library shouldn't be that big etc. Or well... for the JAR it probably packages all SWT libraries which already gets you quite some amount. Plus JRuby. Hmmm. |
yes, 200MB is too big ;) 35MB is about the lower limit for the JAR. If it's approaching 100, there's extra stuff in there. At one time
I'd love to slim the packages down as much as possible, so if we can get by with JRE, that would be great :) |
Let's transfer the majority of this discussion to the packaging gem and keep it open here for tracking purposes: shoes/furoshiki#9 I'll repost what Eric just posted there. In the other thread it was mentioned that nokogiri takes up 60MB which baffles me. But yeah, over there... |
I know this shouldn't be here but I wanted to mention it. @PragTob |
There's definitely more room to trim, but I'm comfortable with the 65MB that we've gotten it down to for now (i.e. probably through the 4.0 release). Might be worth at least cutting out the biggest files (i.e. the duplicate jruby jars we slurp in because of our gem dependencies), but I'm willing to let that ride to focus on other aspects and handle it over in shoes/furoshiki#9 at some point. |
I just package simple-sound.rb and get standalone app for mac with hug size >200M!
JDK is about 100M, I think JRE is enough for end user.
Is there space for optimize?
The text was updated successfully, but these errors were encountered: