How much memory do you allow PHP to use? Try adding a megabyte or two to PHP ini variable "memory_limit" (32MiB is default I think, and I've had trouble on # when using less than that)