Gets the amount of memory available to the process (in bytes) based on
limits imposed by the OS.
If there is no such constraint returns
Evaluates to the resident set size for the current process.
Sets the priority of the process with the given pid.