<div dir="ltr"><div>I guess there is a need to split Qt apps and KDE apps.</div><div>Qt apps should have ~80MB runtime instead of ~1GB KDE runtime</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 19, 2019 at 11:42 AM Gerard Braad <<a href="mailto:me@gbraad.nl">me@gbraad.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> Even entire Linux distros are like 1GB, and that the size of ur app.<br>
<br>
Correction: the size of the app is likely JUST a few megabytes. But as<br>
you said, more likely the size of a distro.<br>
And this is exactly happening. You are running a runtime, which can be<br>
considered like a snapshot of a stable distro (a userspace) that the<br>
applications can use. See it like a container or VM (without the<br>
hypervisor need). This means that whatever the underlying distro does,<br>
does not affect the userspace used by the appliction... and guess<br>
what,m this is even shared among the applications. So mostly this<br>
large chunk of download is a one time thing.<br>
<br>
On Tue, Mar 19, 2019 at 5:38 PM Felipe Borges <<a href="mailto:felipeborges@gnome.org" target="_blank">felipeborges@gnome.org</a>> wrote:<br>
><br>
> Please, read <a href="https://blogs.gnome.org/alexl/2017/10/02/on-application-sizes-and-bloat-in-flatpak/" rel="noreferrer" target="_blank">https://blogs.gnome.org/alexl/2017/10/02/on-application-sizes-and-bloat-in-flatpak/</a><br>
> to understand the storage consumption.<br>
><br>
> Flatpak has the concept of a Runtime which contains low-level<br>
> dependencies that multiple applications can depend on. Runtimes are<br>
> useful to avoid duplication (imagine all gtk apps bundling their own<br>
> Gtk) and to deliver updates (imagine a CVE was found in a core library<br>
> that many apps depend on).<br>
><br>
> All in all, when you are downloading a Flatpak application from GNOME<br>
> Software/Flathub that depends on a runtime that you still don't have<br>
> locally, it will pull the runtime alongside it. Thus the big<br>
> download-size numbers you  have.<br>
><br>
> So, for instance, when you downloaded the flatpak of a GNOME app, it<br>
> will likely pull org.gnome.Platform for the first time if you still<br>
> don't have it. The other GNOME apps you'd install afterwards will have<br>
> a much smaller download-size.<br>
><br>
> On Tue, Mar 19, 2019 at 10:05 AM Prabesh bhattarai <<a href="mailto:prabesh432@gmail.com" target="_blank">prabesh432@gmail.com</a>> wrote:<br>
> ><br>
> > Ans: Because of it more than 900mb. That is a huge chunk of RAM and memory consumption. Why it is so heavy? Make it run below 100mb.<br>
> ><br>
> > Remove unwanted codes.<br>
> ><br>
> > Even entire Linux distros are like 1GB, and that the size of ur app.<br>
> ><br>
> > On the other hand, look at Snapstore, which take a small amount of RAM and memory. And does everything that your software does.<br>
> ><br>
> > P.S: Cutdown the flatpak from 930mb to 100mb if possible. Make it smooth and sexy.<br>
> > _______________________________________________<br>
> > Flatpak mailing list<br>
> > <a href="mailto:Flatpak@lists.freedesktop.org" target="_blank">Flatpak@lists.freedesktop.org</a><br>
> > <a href="https://lists.freedesktop.org/mailman/listinfo/flatpak" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/flatpak</a><br>
> _______________________________________________<br>
> Flatpak mailing list<br>
> <a href="mailto:Flatpak@lists.freedesktop.org" target="_blank">Flatpak@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/flatpak" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/flatpak</a><br>
<br>
<br>
<br>
-- <br>
<br>
   Gerard Braad | <a href="http://gbraad.nl" rel="noreferrer" target="_blank">http://gbraad.nl</a><br>
   [ Doing Open Source Matters ]<br>
_______________________________________________<br>
Flatpak mailing list<br>
<a href="mailto:Flatpak@lists.freedesktop.org" target="_blank">Flatpak@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/flatpak" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/flatpak</a></blockquote></div>