And for that matter, is the set of error codes documented? I get code 247 uploading a large file so I think it's a memory issue but can't find any documentation.
Asked
Active
Viewed 4,493 times
1 Answers
3
You might want to set FILE_UPLOAD_MAX_MEMORY_SIZE, which will force files larger than that size to be streamed to disk, rather than allowed to continuously consume RAM. I typically set this to 102400, which is 100k.
Hope that helps!

Brandon Taylor
- 33,823
- 15
- 104
- 144