Logging a warning when more than 90% of the memory is used
Changed the limit to 80% of the physical memory
Better variable names
Merge pull request #1411 from gem/memory-warning

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