ESM automatically creates a file resource for every file that you attach to a case. These file resources are stored in /All Files/Attachments
. If you are creating packages of such cases, the package will also include the actual attachments. This means the attachments exist twice in the database, as file resources and as part of the package. You should therefore consider the size of the attachment files; for example, attachments of 20 Mb and above use up a lot of space. If you are creating case packages every month for backup purposes, the space usage will increase exponentially since additional file resources are created.
You can change the size of attached files with this property in the server.properties
file:
persist.file.size.max
The value you set will be in MB. Refer to the ESM Administrator's Guide for information on editing properties files. Note that this affects all case resources, not just one.
To manage space usage, do the following:
Avoid attaching multiple large files to a case. Keep those files in a safe and separate repository. Create a single file containing a list of pointers to the location of related files and attach that list to the case instead.
If cases are closed, consider packaging them and exporting the packages to a separate and safe repository. Then delete the cases from ESM. When cases are deleted, the case attachments (the file resources) are also automatically deleted.
For more information about creating packages and exporting them, see Managing Packages.