fix default memory args

if none are passed, don't fail because of the missing var. default is no heap
size restriction