use memory configuration from envrironment