Log a warning when more than 80% of the memory is used

See https://bugs.launchpad.net/oq-engine/+bug/1307913.
The percentage could become a parameter in the configuration file, but for the moment it is fixed to 80%. It is trivial to change if needed.