[BEAM-1556] - Size of heap space might be wrongly set