4

I have the problem that Google Chrome will limit itself to about 32 GB of RAM split over many tabs and processes.

When it approaches 32 GB RAM usage it will start to load pages really slowly, or show the out of memory error on some tabs.

All search results that I found about Chrome RAM consumption issues are about it taking too much memory. But my problem is it's not using enough.

My test was done with about ~500 tabs, no single process is using a huge chunk of memory, the usage is spread out evenly across many processes.

I tested this on a laptop with 64 GB physical RAM and 4 cores. And on a desktop computer with 128 GB physical RAM and 12 cores. According to TaskManager / Process explorer there should be plenty free memory that Chrome is not taking advantage of. And yet rather than use more memory it is slowing down or throwing out of memory errors.

At first, I thought maybe this is a problem with the GPU acceleration reserving extra memory that I don't see. But I don't think this is the case any more since I tested on the desktop computer which is not in any GPU memory limit as far as I can tell and doesn't have an iGPU.

Tested with: Chrome Version 100.0.4896.127 (Official Build) (64-bit) Windows version: 10.0.19044.1645 (21H2). But I had this problem for the last 2 years at least. It's not a recent regression. I am using a Pro license not a Home license for Windows 10 if that makes a difference.

My question is:

  1. Am I overlooking some inherent or configurable Chrome memory self limit?
  2. Am I running into some limit in Windows 10 where it will not give more than half the memory or 32 GB to a single group of processes or anything similar?

I would be happy to do any additional tests and or provide more information!

Update: I have tried disabling automatically managed page size in Windows and set a static size instead (min+max size are now both same size as physical RAM size) according to this blogpost, found via this comment and rebooted. I also tried to start Chrome without extensions. But neither did help. I am still getting the same OOM errors "Not enough memory to open this page Try closing other tabs or programs to free up memory" at about 32 GB / 64 GB used on the laptop and 40 GB /128 GB used on the desktop.

What is a bit suspicious to me is that the error occurs not at half the RAM used on the desktop but approximately 8 GB higher than on the laptop. That's pretty much the size of the desktop's Nvidia GPU's on-board GDDR. Maybe I should try starting Chrome without GPU acceleration and see if it wants to use more memory then?

Update 2022-09-13:

The issue is gone if I disable "Use hardware acceleration when available" in the settings. I have tested it with 900 tabs over at least a month and I had no problems with out of memory errors. Of course disabling hardware acceleration completely is not a satisfactory fix.

14
  • 2
    So you have 50 Chrome Windows and across those instances you have 450 tabs opened?
    – Ramhound
    May 9, 2022 at 21:39
  • 1
    @user643011 - why? May 10, 2022 at 10:48
  • 1
    @Michael Harvey Why not? That's how I use my computer. Any idea why the Chrome browser doesn't take advantage of all available RAM and runs out of memory with more than 60GB physical memory free?
    – user643011
    May 10, 2022 at 18:50
  • 1
    I have a similar problem. Windows 10 and Chrome 103.0.5060.114 with 64 GB. Task Manager shows memory usage of under 50%—but Chrome still reports "Not enough memory to open this page."
    – user697473
    Jul 22, 2022 at 17:42
  • 1
    @user697473 Good to know! I also still suffer from this problem almost every day and nobody seems to have an answer. I am thinking: we can't be the only ones who have workstations or developer machines with >=64GB RAM? Does nobody care about this bug at Google or elsewhere?
    – user643011
    Aug 8, 2022 at 13:02

1 Answer 1

1

I've been going through a similar investigation on my own ultra powerful computer.

I found that task manager is really inaccurate for physical memory usage, and only shows active memory usage.

There's a tool built into windows called "Resource Monitor" that you can use to look at "Standby Memory". When you run into a memory issue, you almost certainly will have a lot of "Standby Memory".

This however is NOT the OS stealing memory that could be used by your application. This is the OS specifying resources that aren't currently being accessed, and also exist on the hard drive. The OS is allowing that RAM to be overwritten if needed based on a prioritization matrix. What is likely happening is your memory is full and unneeded memory is being cleared only to be needed again later on.

There is another tool published by Microsoft called RAMMap. This can help you further understand the memory issues, and narrow down areas for improvement.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.