I cannot upload documents over 20 Mb although I have set the File Upload Size Limit to unlimited

Document ID : KB000041791
Last Modified Date : 29/01/2019
Show Technical Document Details
I have set the "File Upload Size Limit" to unlimited in NSA - Documents and Search, by leaving the field in blank.

But on uploading a document over 20 Mb I still get the error message:
"ERROR Uploaded document exceeds the maximum size limit of 20 MB

Starting PPM 15.1
The "File Upload Size Limit" cannot be set to unlimited by leaving CSA value blank. This is expected behavior.

When left blank Clarity will use the default size limit of 20 Mb from the governors.

You need to change the governor limit, set in a single governors.properties file located in <INSTALL_DIR>/config (example: C:\Clarity\config) 
1. Open the file $clarity/config/governors.properties with a text editor and find the value:

#Maximum Document upload Size

2. Modify the value above to reflect the desired value in MB: 

#Maximum Document upload Size

Keep in mind you want to keep a reasonable limit as upload of very large files may make the application slow and cause performance issues.

3. Save the file

A restart of Clarity services is not usually needed, as the system will detect the changes in governors automatically.

(If you test the issue after the changes above and still see the problem, then restart the services).