BETTER PERFORMANCE, MORE SPEED, LESS LAG
After long time of testing I found the best balance for RAM, this script will make your RAM to the best optimization, the best optimization means the best balance between free memory, multitask, speed of launching apps and system speed. It means that you'll still have enough free memory (you'll have free memory as much as you need, because it is not good if you have really a lot of free memory, because Android's work with memory is different to other OS) and you can fully use your multitask, my script doesn't kill your app automatically when you minimize it. Your system and switching between apps or launching apps will be very fast.
Now you don't have to use Task Killer!
-Values which mainly affect your multitask and free memory. Values of my script were made for the best combination of using multitask and still having enough free memory.
VM (Virtual Machine)
-Values which mainly affect your file cache and system memory. With my VM values you can achieve better battery consumption, system speed and speed of launching apps.
-Value of every process which gives the kernel a hint, which process it can kill in an OOM (out of memory) situation.
Video Review (Galaxy S) - Thanks to totallydubbed
Video Review (Galaxy) - Thanks to waqasshahzad1986
INSTALL IT ON YOUR OWN RISK.