mcc,
@mcc@mastodon.social avatar

This is a pretty basic, "and what's the deal with airline food??" kinda observation, but

It's just been brought to my attention that a Chrome tab takes up a minimum of 24 to 28 MB of RAM*, even if it's looking at about:blank or an empty HTML page. There are good engineering reasons it might work this way but I am also thinking about how my first computer-shaped computer** had 4 MB of RAM and that was like, an OS plus sophisticated full apps. Later we upgraded to 8 MB RAM and that was a big deal

ShadSterling,

@mcc my first computer was a home-assembled 8086 clone (with a faster clock than any actual 8086), on a board that either couldn’t take as much as 4MB RAM, or by the time I wanted that much that kind of memory wasn’t available anymore. The year I learned C (the language Dad used) I wanted to use the Microsoft C compiler for DOS, which required 4MB RAM, and that Christmas Dad bought me a new motherboard, CPU, and 4MB of what I think was the then-new SIMM cards

ghosttie,
@ghosttie@mastodon.gamedev.place avatar

@mcc it has a copy of the JS engine per process, that takes up some space

whitequark,
@whitequark@mastodon.social avatar

@mcc so what's the size of a framebuffer for your screen?

mcc,
@mcc@mastodon.social avatar

@whitequark Good question. Should be a little under 192010804*4 bytes = 33 MB, assuming RGBA8888 but no stencil buffer. In which case the memory usage may be unusually low. However, would RAM and VRAM usage be reported together?

whitequark,
@whitequark@mastodon.social avatar

@mcc generally no, but I find it a useful spot check for "how big is this number"

if I'm rendering an N byte framebuffer it's reasonable for my program to take on the order of N bytes even if it does nothing else

is it necessary? no, a 8k demo can render 4K images. but most programs aren't demos

swetland,
@swetland@chaos.social avatar

@whitequark @mcc I forget this sometimes when I despair of how absurdly huge everything is nowadays... 4K@32bpp is just shy of 32MB... My first machine with over a megabyte of ram (2MB) had a 20MB HDD and a 720x350x1bpp display...

gregly,
@gregly@retro.pizza avatar
swetland,
@swetland@chaos.social avatar

@gregly @whitequark @mcc A clone, but yup. With a nice amber monochrome monitor.

Later used it for a second display for debugging after I got a fancy EGA (or maybe it was VGA by then... my memory is fuzzy) color setup.

mcc,
@mcc@mastodon.social avatar

@swetland @gregly @whitequark Clearly what we need for RAM-conscious users is a web browser that renders all content as 1-bit floyd-steinberg dithering.

mausmalone,
@mausmalone@mastodon.social avatar

@mcc the first computer I had /that could connect to the Internet and load web pages/ had like 16 MB I think. I made whole websites on that and posted them on geocities.

mcc,
@mcc@mastodon.social avatar
  • As reported by Chrome's built-in "Task Manager". There are various things that might make this report not quite accurate. For example, possibly some large portion of that 24 MB are copy-on-write VM pages that do not actually take up system resources until they are really needed.

** For purposes of this post I am not counting the Apple //c.

liiwi,
@liiwi@mastodon.social avatar

@mcc "What's using my GPU memory?" "Oh.."

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • ethstaker
  • osvaldo12
  • magazineikmin
  • GTA5RPClips
  • rosin
  • mdbf
  • Youngstown
  • Durango
  • slotface
  • everett
  • kavyap
  • InstantRegret
  • thenastyranch
  • provamag3
  • tacticalgear
  • modclub
  • cisconetworking
  • tester
  • cubers
  • khanakhh
  • ngwrru68w68
  • megavids
  • normalnudes
  • anitta
  • Leos
  • JUstTest
  • lostlight
  • All magazines