fix memory criteria
Merge pull request #3 from racker/fix_memory_criteria

fix memory criteria