On 4/20/21 12:36 PM, Joseph Wright wrote:
> I don't think I've ever seen a test of what happens if \pdffilesize is used on a
> truly massive file.
> 

In an interactive session, with test.dat around 8GB, I get

*\message{\pdffilesize{test.dat}}
7733552500
*\count0=\pdffilesize{test.dat}\relax
! Number too big.
<inserted text> 7733552500

<*> \count0=\pdffilesize{test.dat}
                                  \relax
?

Bruno