This is really a problem for me. It makes me feel that other people use some kind of program to deal with it. Can you share your info? I came from Windows and after 4 months on ubuntu still don't know everything about ecosystem.
Edit 1: This is the output of the command:
total used free shared buff/cache available
Mem: 6110296 3250216 163420 74136 2696660 2447380
Swap: 10239996 3232 10236764
I still hear hdd usage while switching languages. It uses hard drive too much when I interact with menu, search for a program or just switch input languages
Edit 2: I mean switching keyboard input languages by pressing ctrl+shift. Pressing winkey/super(?) key to open dash menu and so on, similar small tasks like opening context menu.