Skip to content

a reproduction repository for Chrome's "ERR_INSUFFICIENT_RESOURCES" error

Notifications You must be signed in to change notification settings

ryanmr/err-insufficient-resources-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

err insufficent resources

Does your Chrome tell you that, upon making thousands of requests, it no longer has sufficient resources?

This repository reproduces the infamous ERR_INSUFFICIENT_RESOURCES bug that is in Chrome and possibly less prone to occur in browsers.

Discovery

We notice that at around 7000 "concurrent" requests, Chrome's network stack begins to fail. Firefox seems to have a better internal buffer or queue to handle outgoing requests and returning responses.

For the purpose of this test, we use 8000 requests and await on them, and increment a simple counter after each completed request.

Please see the screenshots directory for examples of failure in Chrome but success in Firefox.

Running

In a terminal:

cd backend
yarn start:dev

In another terminal:

cd frontend
yarn start

Tech

  • NestJS on backend API
  • CRA React on frontend UI

About

a reproduction repository for Chrome's "ERR_INSUFFICIENT_RESOURCES" error

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published