Closed paulocoutinhox closed 1 month ago
Are you able to provide a simple Dockerfile that reproduces it, so that we can also trigger the MemoryError?
Hi,
Dockerfile: https://github.com/paulocoutinhox/pyaa
I discover the problem. The file uwsgi.ini
is limited to 256mb, so is not a problem with docker or Dockerfile.
Thanks.
I use 512mb and it solve the problem: https://github.com/paulocoutinhox/pyaa/blob/main/uwsgi.ini#L17
What did you do?
Im trying upload an image from my phone or local file and im get MemoryError.
It work when use runserver but memory error when use inside docker, on local docker, on hostinger docker, on fly.io etc, the same error happen on Pillow. Only on runserver mode it works.
What did you expect to happen?
Upload without problem.
What actually happened?
What are your OS, Python and Pillow versions?