added a higher memory limit for large upload structures