Fix for specifying memory size in GiB.
Merge pull request #87 from mdebski/master

Fix for specifying memory size in GiB.