First of all if an app consumes ram it will also consume cpu also. To stop these apps you have to clear the ram. But clearing ram not fix the problem. After some time the apps start up again. Then the solution is to freeze or hibernate them.
Use greenify if you are rooted.
Press thanks if I help you.
Sent from my GT-S7562 using xda app-developers app