This app was mentioned in 6 comments, with an average of 5.17 upvotes
While that's a fair explanation of how garbage collection works, there's no reason that garbage collection should need to run on that device doing the tasks that it was, and even then there's no reason for it to clear up memory used by on-screen elements in those apps. It simply shouldn't get close to filling up 4GB of RAM doing those tasks. I counted 9 apps, so unless they're using more than 400MB of RAM each - which would be an achievement since Angry Birds is the only one likely to get remotely close to that on disk. It simply shouldn't need to trigger garbage collection during this test, and the fact that it does highlights that Samsung have gone with a very aggressive garbage collection policy for some reason.
This is even more apparent if you consider that the RAM will be powered on all the time regardless of what's in it, so that it can be accessed... well... randomly. This means that it's using almost the same amount of power whether it's used or not, so it pays to have the RAM as full of stuff the user is likely to use as possible. Copying the app's resources back into memory consumes both more time and more power. Most modern systems will use any free RAM as cache for things they reckon you're going to want to use, so those things load up faster.
Edit: So, according to Google Play, Angry Birds 2 is 68MB in size. I don't know if that's installed size or download size, though.
I'll save everyone a click. This is the link to play store page.
Angry Birds 2 | 4.3 rating | Free with IAP | 100,000,000+ downloads | Search manually
> Join hundreds of millions of players for FREE and start the fun slingshot adventure now! Team up with your friends, climb the leaderboards, gather in clans, collect hats, take on challenges, and play fun events ...
|Feedback|PunyDev|Lonerzboy|