Add numeric check for ram config input
Merge pull request #3 from jianC/master

Add numeric check for ram config input