decrease memory used