Configure Memory Guard Properties Using the Command-Line Utility
You can use the runtimepropertiesconfig.sh command-line utility to configure the memory guard properties to protect against the out-of-memory errors that can occur while processing reports.
Syntax
runtimepropertiesconfig.sh Operation Options
where
Operation: update
, get
, or help
Options for update
operation : KEY1=VALUE1,KEY2=VALUE2
Options for get
operation: KEY1,KEY2
Examples
-
Command to update the following memory guard properties:
-
server.ONLINE_REPORT_MAX_DATA_SIZE
property to change the maximum report data size for online reports from the default value of 300MB to 223MB. -
server.SQL_QUERY_TIMEOUT
property to change the timeout of SQL query to 550 seconds from the default value of 600 seconds.
./runtimepropertiesconfig.sh update server.ONLINE_REPORT_MAX_DATA_SIZE=223MB,server.SQL_QUERY_TIMEOUT=550
-
-
Command to list the values of all memory guard properties:
./runtimepropertiesconfig.sh get
-
Command to list the values of specified memory guard properties:
./runtimepropertiesconfig.sh get server.ONLINE_REPORT_MAX_DATA_SIZE,server.SQL_QUERY_TIMEOUT
-
Command to list all the memory guard properties along with the default values:
./runtimepropertiesconfig.sh help
Memory Guard Properties
Configure the memory guard properties to protect against out-of-memory errors.
Use the runtimepropertiesconfig.sh command-line utility to configure the memory guard properties. See Configure Memory Guard Properties Using the Command-Line Utility.
Property | Description | |
---|---|---|
server.BURSTING_REPORT_MAX_DATA_SIZE |
Maximum report data size for bursting reports |
Default value: 500MB |
server.DB_FETCH_SIZE |
DB fetch size |
Default value: 20 |
server.FREE_MEMORY_THRESHOLD |
Free memory threshold |
Default value: 500MB |
server.MAX_DATA_SIZE_UNDER_FREE_MEMORY_THRESHOLD |
Maximum report data size under the free memory threshold |
Default value: free_memory_threshold/10 |
server.MAX_ROWS_FOR_CSV_OUTPUT |
Maximum rows for CSV output |
Default value: 1000000 |
server.MAX_SAMPLE_XML_DATA_SIZE_LIMIT |
Maximum sample data size limit |
Default value: 1MB |
server.MINIMUM_SECOND_RUN_GARBAGE_COLLECTION |
Minimum time span between garbage collection runs |
Default value: 300 (seconds) |
server.OFFLINE_REPORT_MAX_DATA_SIZE |
Maximum report data size for offline (scheduled) reports |
Default value: 500MB |
server.ONLINE_REPORT_MAX_DATA_SIZE |
Maximum report data size for online reports |
Default value: 300MB |
server.ONLINE_REPORT_TIMEOUT |
Timeout for online reports. |
Default value: 600 (seconds) |
server.SQL_QUERY_TIMEOUT |
SQL Query Timeout |
Default value: 600 (seconds) |
server.WAIT_SECOND_FOR_FREE_MEMORY |
Maximum wait time for free memory to come back above the threshold value |
Default value: 30 (seconds) |
server.XML_DATA_SIZE_LIMIT |
Maximum data size limit for data generation |
Default value: 500MB |