Is there a size limit for attachments in documents and files?

There is no limit to the size of the file that can be uploaded.