I have several large tiff files that generate "This file did not pass file verification" errors when I try to upload them to Commons, both in the Upload Wizard and via the API (pattypan).
Example (320 MB)
@Bawolff figured out that imagemagick is running out of memory when reading the metadata. I have uploaded a bunch of smaller files from the same batch of scans (same metadata structure) successfully; the file verification error consistently appears for files larger than ca 200 MB.