My point is that when the resource is available, it can't be intelligently used? Heck, shouldn't you just let the OS call the shots and simply say, "I've got ephemeral data for you to keep warm."
You aren't wrong but this is also you get users who think that Chrome uses all your RAM even if you have a huge amount...
Sure, if the OS has an API for that. If it doesn't, then the Chrome developers have to figure out what to do.
Isn't the API just storing in RAM and letting a page file do its thing?
In a 64-bit only world, that isn’t a bad strategy. I would guess a lot of this is just legacy from having to or having had to support 32 bit OSes.
How do you make sure that the video doesn't push something far more important to the pagefile? Does windows have a way of telling it the priority of an item in memory, or do you have to trust a caching algorithm?