Reminds me of the programs that make the kernel drop FS buffers in an attempt to free up RAM. Or hog as much memory as they can in an attempt to have unused things swapped to disk. Yeah, they free up RAM all right, but at the expense of actual speed.
Most of the time, this junk is actively harmful. Forget it, modern Linux uses optimized defaults.
You can get more performance out of your hardware by switching to from heavyweight to lightweight programs - for example, instead of Skype (which uses Electron), choose some other way to chat like irssi
for IRC. Instead of Gnome, choose i3 or dwm or something like that. You need a bunch of tradeoffs and learning, though, to really get the most out of your hardware.
Environments are per-process. Every program can have its own environment, so don't inject secrets where they're not needed.
I'm using bubblewrap to restrict access to FS.