'Clean upload' option to clear memory before upload