Total memory usage
-
- Posts: 253
- Joined: January 29th, 2016, 4:36 pm
Total memory usage
Anyone know of a way to see the total amount of working memory (Task manager processes, not cache) FF uses without having to use a calculator? I don't find about:memory useful.
- Reflective
- Posts: 2283
- Joined: February 15th, 2007, 11:13 am
Re: Total memory usage
Task manager ---> click Performance tab ---> click Open Resource Monitor link at the bottom and then in the next menu click the Memory tab.
-
- Posts: 253
- Joined: January 29th, 2016, 4:36 pm
Re: Total memory usage
Thanks Reflective, but that also shows me separate processes like in Task manager.
-
- Posts: 1059
- Joined: January 30th, 2005, 2:33 pm
- therube
- Posts: 21714
- Joined: March 10th, 2004, 9:59 pm
- Location: Maryland USA
Re: Total memory usage
Heh.
(Now that is listing the 'Working Set' bytes. 'Private Bytes' could be, even substantially, different, in particular for the largest [2512] thread, 6,984,510 K in my case.)
Code: Select all
E:\RUBEN>TASKLIST /FI "imagename eq firefox.exe" && echo. && tasklist /fi "imagename eq firefox.exe" | sed s/,//g | gawk "{ sum += $5 } END { print sum }"
Code: Select all
Image Name PID Session Name Session# Mem Usage
========================= ======== ================ =========== ============
firefox.exe 6328 Console 2 42,460 K
firefox.exe 4776 Console 2 846,128 K
firefox.exe 2792 Console 2 9,464 K
firefox.exe 2512 Console 2 2,126,164 K
firefox.exe 4468 Console 2 237,856 K
3262072
Fire 750, bring back 250.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball CopyURL+ FetchTextURL FlashGot NoScript
-
- Posts: 253
- Joined: January 29th, 2016, 4:36 pm
Re: Total memory usage
Thanks for the reply, Ed1. 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"
pause
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"
pause
-
- Posts: 253
- Joined: January 29th, 2016, 4:36 pm
Re: Total memory usage
Thanks for the reply, therube. Had to go get sed and gawk for Win, now runs from batch file:
cd "C:\Program Files (x86)\GnuWin32\bin"
TASKLIST /FI "imagename eq firefox.exe" && echo. && tasklist /fi "imagename eq firefox.exe" | sed s/,//g | gawk "{ sum += $5 } END { print sum }"
pause
cd "C:\Program Files (x86)\GnuWin32\bin"
TASKLIST /FI "imagename eq firefox.exe" && echo. && tasklist /fi "imagename eq firefox.exe" | sed s/,//g | gawk "{ sum += $5 } END { print sum }"
pause