Avoid server allocating more memory than limit
Merge pull request #16 from YJM1024/master

Avoid server allocating more memory than limit