The 1010-byte linearization wall
SpicyTried to produce a linearized 10 GB sample PDF for the streaming tests. Couldn’t. Spent an hour wondering if my build pipeline was broken before going to the spec.
The linearization profile requires classic xref tables, which use fixed 10-digit byte offsets. The math caps the entire file at 1010 bytes (~9.31 GiB). Above that, the spec itself precludes a compliant linearized PDF — no implementation can deliver one.
If you need files larger than ~9 GiB, you can’t linearize. The SampleDocs 10 GB variant ships unlinearized and the page explains why.