If your computer is slow and you can’t afford to buy new RAM sticks, you can optimize what you already have using these legitimate methods:
Use "Tab Suspender" extensions in Chrome or Edge. These put inactive tabs to sleep, freeing up physical RAM for the page you are actually looking at.
Programs that track your keystrokes or steal your data. Adware: Flooding your computer with unwanted pop-ups.