The java command accepts upper case K and M suffixes. However, if you pass these to avian, the suffix is ignored, giving you very small heap sizes and unhelpful core dumps happen.
This patch allows upper case K and M suffixes.
Accept M and K suffixes for memory sizes like the java command
Merge pull request #20 from csoren/master
A simple fix to accept upper case size suffixes for the -Xm parameters