I'm programming stuff on Python with Pycharm, and sometimes run regressions using Stata.
Sometimes, I need these applications to use as much as memory as they can get to speed up computations/
Sometimes, through nobody's fault but my own, these applications explode in memory. Perhaps a case I didn't think about, some inefficiency in algorythms, there are multiple ways this can happen.
I would like to guarantee these applications as much memory as possible, but prevent them from taking "core applications" memory. That is, I don't want my general Ubuntu GUI (great if this works for Elementary OS, too) to be slowed down because it has to be loaded into memory again.
Is there a way to ensure that a certain set of applications always precede in memory, if they are running? I mostly care about core applications and GUI, but it would be great if I could add custom applications such as Kupfer to the list.
$max - 1
to Python. But what if Chrome is running at the same time, and then for some reason Chrome has precedence over Guake? Python would grab$max - 1
, push out memory for core routines, and Chrome would stick to its memory. – FooBar Jul 03 '17 at 12:14