update memory limit for image helper