Generally you should not free RAM on Android device using Task Killers, Cleaners, Optimizers, Performance Boosters and so on. The operating system manages the RAM in a very efficient way. For more details see:
But if you really want to reduce the load on RAM, the only way is to keep the number of background apps at minimum. Though this is not a straightforward task. See:
Still short on RAM? Install a lightweight custom ROM. OEM ROMs are usually resource hungry due to heavy customizations and bloatware apps. Still short on RAM? Get a phone with bigger RAM. 😉
Related: