Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

server-memory-threshold

Size threshold of server process at which action needs to be taken to manage responses

Syntax

--server-memory-threshold SIZE

Description

server-memory-threshold sets the memory size limit of a server process. If a server process’s size exceeds SIZE set by server-memory-threshold, then responses need to be either archived or purged by setting server-memory-threshold-overflow-action to archive_responses or purge_responses respectively. If server-memory-threshold is not set, then the responses will be bound to the server process causing the memory footprint of the server process to keep increasing. As a best practice, it is recommended that a client process delete a request after usage in order to prevent the memory of the server process from growing.

Parameters

size

Threshold size of the server process.

Examples

Archive responses if the size of the server process in memory exceeds 500 MB.

--server-memory-threshold 500MB
--server-memory-threshold-overflow-action archive_responses

Purge responses if the size of the server process in memory exceeds 2 GB.

--server-memory-threshold 2GB
--server-memory-threshold-overflow-action purge_responses
Was this topic helpful?