Anyone have any tricks for dealing with Very Large Files?

Certified Lead Developer

A process generated (as requested) a 3.7 gigabyte zip file last night.  For the size it worked pretty well.  I did notice something funny though; there seems to be no way to display its size correctly, other than downloading it to my local system.

The filesize-in-bytes (~3.7 billion) is well past the integer overflow point (~2 billion).  When I view the file's properties directly in designer, it shows a *negative* filesize:

When I click into the document properties, I see the same thing.

When calling the "document" function on the file directly, I see a corresponding negative integer (i assume this somehow corresponds to the integer overflow, but I can never keep it straight in my head) --

In this case it's not critical.  However I can imagine future use cases where not being able to internally pull an accurate file size could be a big deal.  Has anyone developed any neat tricks and/or workarounds for this?  ( I mean other than the obvious, "why on earth are you allowing Appian to generate a zip file over 3 gigabytes", which is a good question for a different conversation ;-) )

  Discussion posts and replies are publicly visible