Skip to content

Instantly share code, notes, and snippets.

@SteveLauC
Last active September 10, 2025 05:34
Show Gist options
  • Select an option

  • Save SteveLauC/7b43c09e69b254c9a921ae2335ccd711 to your computer and use it in GitHub Desktop.

Select an option

Save SteveLauC/7b43c09e69b254c9a921ae2335ccd711 to your computer and use it in GitHub Desktop.

Revisions

  1. SteveLauC revised this gist Sep 10, 2025. 2 changed files with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions chrome.sql
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    select ROUND(SUM(resident_size)/1024.0/1024.0, 2) as 'Memory (in MiB)', COUNT(*) as 'Processes Count' from processes WHERE name = 'Google Chrome' OR name LIKE '%Google Chrome%'
    File renamed without changes.
  2. SteveLauC created this gist Sep 10, 2025.
    1 change: 1 addition & 0 deletions vscode_memory_usage.sql
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    select ROUND(SUM(resident_size)/1024.0/1024.0, 2) as 'Memory (in MiB)', COUNT(*) as 'Processes Count' from processes WHERE name = 'Code' OR name LIKE 'Code Helper%';