fixed misspelling of endorsed param
default min memory to 256m and max memory to 2G