I sometimes have a memory and CPU hungry app running (for example MediathekView) and want to start another (for example FlightGear) (both from terminal, if that matters). If I just start both, my PC freezes after some seconds with full RAM, the hard disk lamp bright on all the time and full CPU. One possible solution could be to temporarily move the RAM pages of MediathekView to hard disk and then restore them later, similar to preventing MediathekView from eating my CPU by simply hitting Ctrl+Z, and restoring the process later by executing
%. Is the same possible for the RAM ? If not, what else could I try ?
If it matters : I have 4GB RAM, where 1GB is always consumed by FireFox, MediathekView needs 1,5 GB and FlightGear needs 2,5 GB.