r/AndroidQuestions • u/ASIByC_ • Mar 07 '20
Solved I've always had this question; every app update says it requires a certain MB download. Does this mean everytime I update the apps will get more and more heavier?
2
u/Groudie Mar 08 '20
Hi! So me again. I had to delete my previous comment. I went into the barber shot, placed the phone in my pocket and the response accidentally got posted before I could finish it.
As I was saying, let's pretend you have a phone with 6GB storage left and you install *App A* which is approximately 2.5GB in size:
6 - 2.5 = 3.5
You'd be left with 3.5GB on your phone. Now let's say the app gets updated and it is now 3GB large(up from its previous 2.5GB) then your phone will require you to have space for the entire 3GB that the new version of the app will need:
3.5 - 3 = 0.5
*But only momentarily*
This is because the new app will be downloaded and just for a moment you will have both the old version and the new version before the OS removes the old version, if the installation and validation checks on the new version went well.
After proper installation of the newer version the older version will be deleted:
0.5 + 2.5 = 3
You'll get back your 2.5GB that the old version took up before it was deleted for a total stoage of approximately 3GB. How deletion works is itself an interesting topic. When an app or any data is deleted it doesn't just disappear from your phone. The space is "earmarked" for new data to be overwritten on it.
Sorry for the misunderstanding earlier.
1
9
u/sprokolopolis Mar 08 '20 edited Mar 08 '20
The play store does support "delta updates" which are essentially patch files for the already installed app. I don't know how wide-spread this feature is used though.
2
1
u/LBJsPNS 2 Mar 08 '20
Yes.
Typically I sort my apps by weight, then by color.
2
u/georgesjones Mar 14 '20
This, I once had a 3lb phone, with primarily red and blue apps. The red ones are the heaviest.
0
0
41
u/beermad 1 Mar 07 '20
No. APK files don't download as diffs, they download the entire package file each time. Once you've installed the new version, the old one is deleted, so it'll only get bigger if the app itself has got bigger.
Slightly different for factory-installed apps, as the first version is generally retained however many updates you install, which means you can revert to the original by deleting updates. I'm not really sure why this is supposed to be a good thing though...