- Every pointer is 8 bytes, and a lot of integers are also 8 bytes, and a ton of structs have padding here and there to the 64-bit boundary.
- All graphics are rendered on huge bitmaps which are later composited using advanced hardware, using double or sometimes triple buffering. This allows for nice effects like translucency, shadows, blurring, etc, while requiring simpler logic and producing basically no visual glitches.
- While at it, just one screenful at 4K / 32bop is slightly less that 32 megabytes.
- A bunch of fonts is pre-rasterized for the high resolution (effectively 3x the horizontal resolution for subpixel smoothing), including fancy emoji fonts.
- A ton of services start by default, from system-wide spell-checking to weather and news reporting. The OS's GUI shell strives to be rich and fancy, with nice large previews of images, documents, etc, and also voice output and input.
- But this all is nothing compared to the resource needs of an HTML5 browser.with a couple dozen graphically intense tabs running SPAs like Gmail or Slack, with all the state, and all the JIT'ed JS.
There's plenty to spend RAM on, compared to my fancy Linux desktop from 1999 which happily lived on 64 megabytes of RAM. Opening ten browser tabs was out of question: tabs mostly did not exist yet :)
Thanks. That was one of the topic we touched on discussing Flash [1] a few days ago. GPU has no idea what Vector is. I wonder how much memory could be saved if we could somehow "compute" all 2D fonts and graphics.
From entry level computing to every appliances. If we want to move baseline memory from 8GB to 16GB, even if it was DDR ( discounting LPDDR price ) that is at least $24 increase in BOM cost, or a total of $48 BOM cost. This is worst for something like Pi or NAS, Router to Smart Appliances where their ASP are much lower. Because of the increase in memory usage, they will either have to rise their price ( which they dont ), let it eat into their margin ( which they wont ), or find $3 BOM cost cutting. Likely coming from SoC.
I don’t see Memory increases for the same price. Would be a better question to ask why does modern OS needs so much RAM.