Live data from Hacker News

Why is the Gmail app 700 MB?

akr.am

61–70 of 403 posts

Re: Why is the Gmail app 700 MB?

#61
post #33
post #15

Earlier quoted context omitted.

Do you mean the RAM used by the tab? The article is talking about disk space

ah I misunderstood...because hilariously my chrome tab is also ~700MB!

Pretty wild. Mine (Chromium on Raspberry Pi) was 52mb, bumped up to 58mb to write this response.

Re: Why is the Gmail app 700 MB?

#63

>Gmail isn’t even the worst offender, it’s just a more popular one. The Tesla and Crypto.com apps are around 1 GB each. One reason is those are typically apps which need to be heavily secured. So behind the seemingly "simple" user interface and functionalities, there's so much security related code to ensure their "safety". More importantly, it's difficult to code without dependencies.

Generally the larger the codebase the harder it is to secure. I am less worried about security vulnerabilities on small tightly focused apps than I am on gigantic monstrosities with hundreds of different attack surfaces.

Re: Why is the Gmail app 700 MB?

#64

> why is the Gmail app almost 80x the size of the native Mail app? Apple Mail leverages libraries and frameworks already present on the device. Google uses libraries and frameworks very likely already present on say Android, but on iOS they have to ship a gigantic runtime that implements those things the app depends on; this way they only have to write the app once for several supported platforms. I’m just speculatin…

There's actually a bit more to it than that. A lot of what Apple apps actually do is hidden in frameworks made for that one specific app , which, unlike with 3rd-party applications, are part of the system, not of the app itself. Compare the size of Safari.app versus Safari Technology Preview.app (which actually ships all the frameworks it needs).

Sounds like how Internet Explorer used to be integrated in Windows. That was quite contentious at the time!

Re: Why is the Gmail app 700 MB?

#65
The table at the end is seriously misguided. You can’t compare the sizes of an iOS preinstalled app against a non-preinstalled app. It’s just a thin UI shell where the code for all the functionality is inside system frameworks. The Photos app is quoted at 4.2MB. Guess what, if you delete that, you still have system components to render photos, UI for a photo picker, perform analysis on photos such as face recognition, all the iCloud networking code to support iCloud Photo Library, etc.

Re: Why is the Gmail app 700 MB?

#66
post #21

Earlier quoted context omitted.

Pardon? I can't tell if you're serious. How would adding more lines of code in a program (or assets or whatever make up this size) add security?

You must be a developer only :) https://www.securecodewarrior.com/press-releases/secure-code...

I think the joke is going over my head ^^; Maybe you mean 'just' a regular developer as opposed to a cryptobro?

Edit: I see you added in a link. "The research found that more than half of the 1200 developers surveyed are unable to ensure that their code is protected from seven common vulnerabilities", hmm maybe it was not a joke? The article (or the survey it's based on) sounds extremely misguided though, sounding comparable to saying that only X% of farmers never had a single rotten apple so clearly it's not a 'top' priority for them to produce quality at all cost

Oh, and I just noticed you're the same person as whom I was responding to above. That explains

Fwiw, I do security audits as a day job so I have some idea of which coding practices lead to good security and it's not download size. You can try this "you're just a developer" again on someone else maybe

Re: Why is the Gmail app 700 MB?

#67

The article doesn't answer the question. The content can be summarised as "The Gmail app is 700 MB!"

There's a few other apps that are ridiculously big. Like the DJI Mimo app. It's an app I need for my DJI Mic, to change 4 settings on it. It needs 800MB for that which is absolutely ridiculous. Also I need to sign up for an account to use it even though the Mic works completely locally and it just changes the settings over USB.

It's absolutely fucking ridiculous to have an 800MB app for this and the reason is just marketing. It's full of stupid videos promoting their stuff. And the account just causes stupid spam. I should have returned the damn thing to be honest.

Ps pardon my french but I'm really annoyed about this and in this case it's warranted in my opinion. 800MB is ridiculous.

Re: Why is the Gmail app 700 MB?

#68

The article doesn't answer the question. The content can be summarised as "The Gmail app is 700 MB!"

There's a few other apps that are ridiculously big. Like the DJI Mimo app. It's an app I need for my DJI Mic, to change 4 settings on it. It needs 800MB for that which is absolutely ridiculous. Also I need to sign up for an account to use it even though the Mic works completely locally and it just changes the settings over USB. It's absolutely fucking ridiculous to have an 800MB app for this and the reason is just ma…

It doesn't inspire confidence in privacy when things are so huge, connected and opaque.

Re: Why is the Gmail app 700 MB?

#69

Earlier quoted context omitted.

AOT = Ahead Of Time? Attack On Titan? Something else?

it's ahead of time and AOT compilation is done at OS startup, not sure if that is being measured here.

OS startup? AOT compilation happens in the build pipeline, before the app is distributed.

Re: Why is the Gmail app 700 MB?

#70

> For most of that period, the size of the Gmail app hovered around 12 MB, with a sudden jump to more than 200 MB near the start of 2017... The Gmail app, on the App Store, is currently 760.7 MB in size. With charts: https://www.axios.com/2017/12/15/the-top-iphone-apps-are-tak... I had no idea common apps used to be just 10-30 MB. But are now hundreds of MB. Something like Gmail doesn't have massive hi-resolution bit…

Hmm, mine is currently 673MB on iOS 26.
Post reply on HN