After a long period of using your computer, it tends to be slower than usual; this is due to memory cache inability to flush away unused memory from the RAM. Restarting the computer is an option but not ideal if you’re in a hurry. Flushing the memory via a command is possibly the better option, here is a step by step tutorial on how to go about creating a shortcut for this process.
Alternative 2020 Article ➤ Top 5 Lightest Antivirus on Memory During Idle and Scanning
Right click and create ‘Shortcut’
Copy and paste this code for 32 bit machine – %windir%\system32\rundll32.exe advapi32.dll,ProcessIdleTasks and copy and paste this code for 64 bit machine – %windir%\SysWOW64\rundll32.exe advapi32.dll,ProcessIdleTasks
Rename the file; there you go, double click the file whenever you want to flush your computer’s memory.