Properly calculate memory

The memory requirements passed to docker are being calculated incorrectly. Megabytes to bytes is 2^20, not 2^30.