How to stop the Galaxy Note5 from killing background apps and enjoy better multitasking

What does that mean for your multitasking efforts? Well, if you open more than 5 apps in the background, the phone will automatically close them and you won’t be able to continue from where you left. Five apps is too little for a smartphone with so much RAM.
1. Install the build.prop editor app from Google Play (link).
2. Go to the #DHA Properties part and change the following entries' values like this:
ro.config.dha_cached_max=12
ro.config.dha_empty_max=36
3. Add the following lines below these entries:
ro.config.dha_th_rate=2.3
ro.config.dha_lmk_scale=0.545
ro.config.sdha_apps_bg_max=70
ro.config.sdha_apps_bg_min=8
4. Finally, delete the following four lines from the build.prop file:
ro.config.dha_cached_max=
ro.config.dha_empty_max=
ro.config.dha_th_rate=
ro.config.dha_lmk_scale=
5. Save the changes and reboot your Note5. Now, the phablet shouldn't be closing tasks so aggressively.
source: Naldotech