Use 4MB as default and minimum initial heap size. (#423)