### Cache Configuration dialog

The dialog appears after you click the Cache Configuration link on the JReport Administration page > Cache > Data Cache > Cached Report Data tab. It allows you to configure memory usage for cached report data (CRD) and configure auto cached report data. See the dialog.

Memory Usage Configuration

Configures the memory usage.

- Maximum Memory Usage
  Specifies the maximum memory usage when running a report using the CRD. The minimum value is 4 MB and can be increased up to 80% of the total Java maximum heap size (-Xmx value in JRServer.bat). All CRDs being used to run reports will share the same memory space. If possible, set the maximum memory usage to a number that the memory can tolerate, for example, 1024 MB or bigger.

Automatic Cache

Specifies whether to enable auto CRD. When it is selected, the following options are available:

- Maximum Disk Usage
  Specifies the maximum hard disk space for auto CRD. The value should be between 4 MB and 1024*1024 MB.
- Expires
  Specifies how long an automatic cached sharable data result is kept.
  - Never
    The auto CRD will not expire.
  - Custom
    Specifies the period an auto CRD exists.

OK

Applies the changes and closes the dialog.

Cancel

Does not retain any changes and closes the dialog.

Help

Displays the help document about this feature.

###### Related topics:

- Managing cached report data