Image operations may require a lot of memory.

Raise memory_limit to the value set in image_TOOLKIT_memory_limit.