Best way to display current RAM usage in FF57+

User Help for Mozilla Firefox
Posts: 934
Joined: January 30th, 2005, 2:33 pm

Post Posted December 3rd, 2017, 6:20 am

What is the easiest/best way to display the current total RAM usage by Firefox 57, either as a snapshot in time or a dynamically changing value. There were a couple of old Addons that had a toolbar icon with the current RAM usage by Firefox. I'm thinking of RAM Restart (Restart RAM?) in particular.

I know I can open the Windows Task Manager at any time and look at the Processes section, but it would be good to constantly keep track of Firefox's RAM usage if possible.

I find the about:memory chart too confusing to be useful. (Of course, I've never learned how to read it - don't know where to look for instructions.)


User avatar
Posts: 2283
Joined: February 15th, 2007, 11:13 am

Post Posted December 4th, 2017, 6:44 am

Open Windows Task Manager and then click the Perfomance tab. Click the link at the bottom to Open Resource Monitor next and then click the Memory tab in the menu which opens. You can see what's going on from there in real time. There's a few more options you have at your disposal in the context menu (right click).

Kevin McFarlane
Posts: 573
Joined: November 10th, 2009, 3:47 am

Post Posted December 4th, 2017, 8:11 am

If you don't mind a little code then you can try this in Windows PowerShell, which adds up the multiple processes...

Code: Select all
$p = (Get-Process Firefox -ErrorAction SilentlyContinue | Measure-Object -Sum WorkingSet).Sum / 1024
Write-Host "Total Firefox = "$p" K"

Result, e.g.,

Total Firefox = 1664784 K (18 pinned tabs, 1 unpinned)

You can do this for any other browsers you are running as well.

For me right now...

Total Opera = 2008504 K (27 tabs)

Posts: 130
Joined: January 29th, 2016, 4:36 pm

Post Posted December 15th, 2017, 9:17 pm

Thanks, Kevin. Got it working running Powershell command from a batch file:

Powershell file (totalff.ps1):
$p = (Get-Process Firefox -ErrorAction SilentlyContinue | Measure-Object -Sum WorkingSet).Sum / 1024
Write-Host "Total Firefox = "$p" K"

Batch file (totalff.bat):
@echo off
powershell -executionpolicy bypass "& "C:\execs\totalff"

Return to Firefox Support

Who is online

Users browsing this forum: No registered users and 13 guests