Did you figure this out? I am also stuck on this.
Once I pick a file, the upload seems to progress and succeed (the progress bar steps to full green - for a moment), but ultimately fails (the progress bar turns red).
When I look at the "data" object's "messages" attribute I see:
uploadedBytes: "Uploaded bytes exceed file size"
Like you, I found the line of code in jquery.fileupload.js:
But I wonder: why is the 'messages' hash pre-set to contain this error??
Also, the single image I tried to upload has 16,119 bytes (i.e. ~16KB (relatively small)), and the "done" callback's "data" object purports "loaded: 16119" - so this message does not make sense (the uploaded bytes do NOT exceed the file size) - which is why I wonder why it is "pre-set" like this to begin with. Mind you, data.uploadedBytes says "0" (zero), so that's at odds with "loaded". What attributes are we supposed to rely on for feedback?
Disclaimer: I followed Heroku's document: