To solve this problem there are several tools from complete optimization suite such as Tune Up or Advanced System Care to more specific and specific applications such as Ramsmash for example.
This practical application gives us back control of RAM memory consumption, thereby optimizing the execution speed and response of our computer.
For the rest, the optimization process can be carried out manually or configured so that it is executed automatically when necessary.