Added default parameters to memoryuse.