I recently reinstalled ubuntu (about a month ago) and gnome-shell usually uses about 150-300 MB ram but suddenly from the last 2 days, gnome-shell is taking a lot of ram(Even jumps up to 2GB). I only have 4GB ram, so this is a big issue for me.
I can fix this by restarting gnome-shell but even after 10 minutes of use, I have to restart it again. Is there any way to fix/avoid this?
Note: I'm on ubuntu 20.04