pyre-check icon indicating copy to clipboard operation
pyre-check copied to clipboard

Pyre crashes encountering file size restrictions

Open nerdinand opened this issue 2 years ago • 1 comments

Bug description I'm trying to run pyre in a fairly restricted CI environment. The process is only allowed to create files of 4GB (4294967296 Bytes) maximum size. Running pyre in this environment yields this error message:

ƛ Check command exited with non-zero return code: -25.

Reproduction steps This is reproducible for example using Docker:

Dockerfile:

FROM fedora:33
RUN yum -y install python3.9 python3.9-pip
RUN python3.9 -m pip install pyre-check

Build it and run it:

docker build . -t pyre-test:latest
docker run -it --ulimit fsize=4294967296:4294967296 pyre-test:latest pyre --strict --sequential --source-directory . check

Expected behavior I'd expect pyre not to crash with a (relatively lenient) restriction of 4GB file size. Note that in the reproduction steps above, there isn't even any Python source code involved. Yet pyre just by starting uses this amount of disk space.

nerdinand avatar Feb 16 '22 14:02 nerdinand

I had the same error with a file size of 8GB, I checked stackoverflow but there was solution

callmekofi avatar Mar 13 '22 17:03 callmekofi