Works on this device
Browser Memory Test
This page shows what your browser reports about memory. It also has a small test that takes a size you choose, at most 256 MiB, times it and gives everything back. The test runs only when you start it, and you can stop it at once.
What your browser reports
These values are read when the page opens. Reading them takes no memory. They stay in this tab.
| Item | Your browser reports | Read from |
|---|
Limited allocation test
This test runs only when you choose Start. It takes the size you choose in steps of 16 MiB, fills it, holds it for 2 seconds and gives it all back. It never takes more than 256 MiB.
The largest size is 256 MiB. Start small on a phone or an old computer.
No run yet.
Ready. Nothing runs until you choose Start.
No runs yet.
| Run | Size chosen | Outcome | Memory reached | Time to take and fill | Speed |
|---|
How to use the memory test
- Read the table What your browser reports. These values are read when the page opens. Reading them takes no memory.
- For the test, choose a Size to take. Start with a small size on a phone or an old computer.
- Choose Start the test. The bar shows each step of 16 MiB. When the size is reached, the page holds it for 2 seconds and then gives it all back.
- Choose Stop at any time to end the test at once.
- Read the result line and the table of runs. Choose Copy as text or Download CSV to keep them.
What the reported values mean
- Device memory comes from
navigator.deviceMemory. The browser rounds it on purpose to a step such as 2, 4 or 8 GB, so that a site cannot learn the exact size. It also stops at a top value: older browsers never report more than 8, and some newer ones go higher. So at the top value your device can have more memory than the page shows. Only some browsers report it. - Script memory comes from
performance.memory. This is not a web standard: only some browsers have it. It counts the memory of scripts in this tab, not pictures, not video and not other tabs. The browser makes the numbers coarse. - Script memory limit is the most the scripts of one tab may use. It is a limit of the browser, not the memory in your device.
- "Not reported by this browser" means the browser does not give this value to web pages. That is normal in some browsers.
What the limited test does
- It starts a worker, a separate part of the page that does not block the screen. The worker takes memory in steps of 16 MiB until it has the size you chose. 1 MiB is 1,048,576 bytes.
- It fills every step with a byte value and reads three bytes back, so that the browser must really provide the memory.
- It measures the time to take and fill the size, holds everything for 2 seconds and then releases it and ends the worker.
- It never takes more than 256 MiB. If your browser reports little device memory, the largest size is one sixteenth of that memory.
- If the browser refuses a step or gives an error, the test stops at once and the worker is ended, which gives back all it took.
- The test never starts by itself and never runs again by itself.
Worked example
You choose 64 MiB. The worker takes 4 steps of 16 MiB. If taking and filling takes 40 ms, the speed is 64 ÷ 0.040 = 1,600 MiB per second.
If your browser reports about 2 GB of device memory, that is 2,048 MiB. One sixteenth is 128 MiB, so the sizes offered are 16, 32, 64 and 128 MiB.
Limits you should know
- This page cannot test the memory chips of your device for faults. A web page cannot reach the memory hardware. To look for faulty memory, use the memory check of your system or a memory test program that starts before the system.
- The page cannot show how much memory your device has in total, how much is free, or how much other tabs and programs use.
- The speed is one reading. It changes with the load on your device, and the browser may give the memory back to the system a little later than the page says.
- A test that completes shows that this tab could take and fill that size once. It does not show the largest size the browser allows, and the page will not try to find it.
- The values and results stay in this tab. Nothing is sent anywhere and nothing is saved.