Add an hard limit to check_mem_usage()
Move warning message in RuntimeError
Change RuntimeError in MemoryError
Merge pull request #60 from gem/soft-hard-limits

Add an hard limit to check_mem_usage()