Storage configuration

since version 1.4

Updating the CMR properties

 Please read the general information on updating the CMR properties first on the CMR Configuration page.

Only for advanced users

Changing the properties in the storage configuration file that are not mentioned in this article is discouraged. If you are not advanced user, please do not change the default values.

The Storage section in the  Configure Repository dialog enables changing of property values that relate to storage functionality. Here is a short overview on the properties and meaning of their values:

Storage folder

By default the folder where all storage data resisting on one CMR will be saved is path_to_CMR_root_folder/storage. This can be changed by altering the Default storage folder property. Note that the path given will be relative to the path_to_CMR_root_folder. You can also specify the absolute folder path if this is needed.

Maximum number of opened channels

CMR uses the FileChannel class to write data to a file. When this channel is open it is reserving one socket connection. Since, some systems can have limited numbers of socket connections that can be open at the single moment, it is possible to change the number of maximum opened file channels at single point of time. Note that the higher number of open channels will reduce the overhead needed for channels closing/opening and if there are no system limitations the default value should not be decreased.

Hard drive space protection

It is possible to update several other properties related to the controlling how much data can maximally be used on the hard drive by CMR storage. These options are defined in the Hard drive space protection sub-section. 

  • Max Hard Drive Occupancy - defines how much hard drive space can be maximally occupied by the storage data on the machine where CMR runs. Note that the default value is 0, and this means that no limit is set. Any positive value will set the limit to the specified amount of bytes.

  • Warn on Bytes Left - defines amount of bytes to be left for storage when user should be warned that space is low (default: 1GB)

  • Stop Write On Bytes Left - defines amount of bytesto be left for storage when no writing will be allowed any more (default: 100MB)

Â