Log a warning when more than 90% 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 90%. It is trivial to change if needed.