Heh I have ZRAM and several ramfs mounts still got TONS of unused RAM... 
Could you also provide the information I asked for about your RAM usage?
I am not facing the lag now but still
Output of free -m :
total        used        free      shared  buff/cache   available
Mem:            7442        2276        2475         274        2690        4368
Swap:          13599           2       13597
and Output of ps_mem
Private  +   Shared  =  RAM used       Program
104.0 KiB + 120.0 KiB = 224.0 KiB       start_kdeinit
404.0 KiB + 500.0 KiB = 904.0 KiB       rtkit-daemon
540.0 KiB + 642.0 KiB =   1.2 MiB       irqbalance
556.0 KiB + 626.0 KiB =   1.2 MiB       ksysguardd
632.0 KiB + 920.0 KiB =   1.5 MiB       dconf-service
736.0 KiB +   1.0 MiB =   1.7 MiB       agent
516.0 KiB +   1.5 MiB =   2.0 MiB       avahi-daemon (2)
1.1 MiB +   1.5 MiB =   2.7 MiB       at-spi2-registryd
1.0 MiB +   2.2 MiB =   3.2 MiB       systemd-timesyncd
1.6 MiB +   1.8 MiB =   3.4 MiB       obexd
1.1 MiB +   2.5 MiB =   3.6 MiB       systemd-logind
1.8 MiB +   2.1 MiB =   3.9 MiB       bluetoothd
2.0 MiB +   2.6 MiB =   4.6 MiB       upowerd
1.8 MiB +   2.8 MiB =   4.6 MiB       pipewire-pulse
2.0 MiB +   2.9 MiB =   4.8 MiB       sudo
2.2 MiB +   2.8 MiB =   5.0 MiB       cupsd
2.2 MiB +   3.2 MiB =   5.4 MiB       startplasma-x11
2.2 MiB +   3.4 MiB =   5.6 MiB       kio_http_cache_cleaner
2.3 MiB +   3.6 MiB =   5.8 MiB       sddm
3.1 MiB +   3.4 MiB =   6.5 MiB       power-profiles-daemon
3.1 MiB +   3.5 MiB =   6.6 MiB       at-spi-bus-launcher
2.1 MiB +   4.8 MiB =   6.9 MiB       fish
3.1 MiB +   3.9 MiB =   7.0 MiB       systemd-udevd
3.0 MiB +   4.4 MiB =   7.3 MiB       gmenudbusmenuproxy
3.0 MiB +   4.3 MiB =   7.3 MiB       kscreen_backend_launcher
2.6 MiB +   5.0 MiB =   7.6 MiB       sddm-helper
3.3 MiB +   4.3 MiB =   7.6 MiB       wpa_supplicant
4.1 MiB +   4.8 MiB =   8.8 MiB       dbus-daemon (3)
3.6 MiB +   5.8 MiB =   9.4 MiB       kdeinit5
4.6 MiB +   5.3 MiB =  10.0 MiB       udisksd
4.7 MiB +   6.0 MiB =  10.7 MiB       xembedsniproxy
5.2 MiB +   5.6 MiB =  10.7 MiB       ananicy-cpp
5.1 MiB +   6.0 MiB =  11.2 MiB       ModemManager
5.8 MiB +   6.8 MiB =  12.6 MiB       colord
5.1 MiB +   8.2 MiB =  13.2 MiB       ksystemstats
5.4 MiB +   8.5 MiB =  13.9 MiB       klauncher
6.9 MiB +   7.0 MiB =  13.9 MiB       preload
5.2 MiB +   9.0 MiB =  14.2 MiB       wireplumber
3.4 MiB +  11.5 MiB =  14.9 MiB       samba-bgqd
6.9 MiB +   8.7 MiB =  15.6 MiB       baloo_file
5.9 MiB +  10.0 MiB =  15.8 MiB       org_kde_powerdevil
7.1 MiB +   9.6 MiB =  16.6 MiB       NetworkManager
6.8 MiB +  10.0 MiB =  16.8 MiB       kglobalaccel5
7.2 MiB +  10.0 MiB =  17.2 MiB       kactivitymanagerd
5.0 MiB +  12.8 MiB =  17.8 MiB       systemd (3)
7.8 MiB +  12.2 MiB =  20.0 MiB       polkit-kde-authentication-agent-1
7.9 MiB +  12.3 MiB =  20.2 MiB       optimus-manager-qt
8.1 MiB +  12.6 MiB =  20.8 MiB       kwalletd5
8.1 MiB +  12.7 MiB =  20.8 MiB       kaccess
8.0 MiB +  12.9 MiB =  20.9 MiB       ksmserver
9.9 MiB +  11.5 MiB =  21.4 MiB       bluetooth-autoc
8.2 MiB +  13.5 MiB =  21.7 MiB       kioslave5 (4)
6.9 MiB +  15.0 MiB =  21.9 MiB       systemd-journald
10.1 MiB +  14.8 MiB =  24.9 MiB       DiscoverNotifier
4.0 MiB +  21.0 MiB =  25.0 MiB       smbd (3)
13.5 MiB +  15.9 MiB =  29.4 MiB       pipewire
11.9 MiB +  18.4 MiB =  30.3 MiB       kdeconnectd
17.8 MiB +  18.2 MiB =  36.0 MiB       polkitd
13.7 MiB +  29.5 MiB =  43.2 MiB       kded5
23.5 MiB +  38.7 MiB =  62.2 MiB       garuda-system-maintenance
30.4 MiB +  55.5 MiB =  85.8 MiB       konsole
40.6 MiB +  70.7 MiB = 111.3 MiB       plasma-browser-integration-host
58.0 MiB +  94.3 MiB = 152.3 MiB       kwin_x11
62.6 MiB +  96.7 MiB = 159.3 MiB       plasmashell
84.1 MiB + 131.3 MiB = 215.4 MiB       Xorg
149.8 MiB + 151.8 MiB = 301.6 MiB       packagekitd
137.4 MiB + 208.4 MiB = 345.8 MiB       python3.9 (4)
154.0 MiB + 198.9 MiB = 352.9 MiB       latte-dock
557.0 MiB + 749.1 MiB =   1.3 GiB       firefox (10)
802.1 MiB + 872.3 MiB =   1.6 GiB       GeckoMain
---------------------------------
5.4 GiB
=================================
When I ran these commands I had just booted in my pc and had only firefox and terminal(konsole) running.
I don't know what GeckoMain is and what it does.
It seems firefox takes up too much of the memory, I checked the in browser task manager but it were only web pages/tabs that were consuming memory. I don't know how to share the result of task manager here since I couldn't copy it.
geckomain is part of firefox.
Indeed it looks like this gekomain can consume a lot of RAM in same cases. Eg
Even without uploading big files maybe there is something wrong that will be hopefully fixed...
You’re not running Discord or VS Code so you’re not running as many applications, which means you are using less RAM.
Not really, 2 or 3 GB is about right for a modern web browser. Chomium-based browsers are even worse.
Yours seems downright frugal compared to mine. 
40.1 MiB +  42.6 MiB =  82.8 MiB       pipewire
 45.8 MiB +  47.1 MiB =  92.9 MiB       baloo_file
 56.1 MiB +  57.5 MiB = 113.6 MiB       pipewire-pulse
 54.3 MiB +  69.6 MiB = 124.0 MiB       onboard
 59.8 MiB +  64.6 MiB = 124.5 MiB       python3.9 (2)
 52.5 MiB +  92.4 MiB = 144.8 MiB       smplayer (2)
 64.7 MiB +  87.7 MiB = 152.4 MiB       kwin_x11
 79.8 MiB +  90.4 MiB = 170.2 MiB       pamac-manager
 62.2 MiB + 141.3 MiB = 203.5 MiB       Xorg
 32.9 MiB + 194.4 MiB = 227.2 MiB       systemd-journald
125.1 MiB + 194.0 MiB = 319.1 MiB       dolphin [updated] (3)
145.6 MiB + 206.8 MiB = 352.4 MiB       mpv (2)
374.5 MiB + 407.5 MiB = 782.0 MiB       plasmashell
664.7 MiB + 725.6 MiB =   1.4 GiB       GeckoMain
  1.6 GiB +   1.6 GiB =   3.3 GiB       packagekitd
  2.0 GiB +   2.2 GiB =   4.2 GiB       firefox (25)
---------------------------------
                         12.7 GiB
=================================
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.