setMaxMemSize
Syntax
setMaxMemSize(memSizeGB)
Arguments
memSizeGB is a numeric scalar (in GB). It is greater than 0 but no greater
than maxMemoryPerNode (specified by DolphinDB license), which can be checked
with function license
. Otherwise an error will be raised.
Details
Modify the maximum memory (in GB) allocated to DolphinDB online. This command can
only be executed by the administrator. Call
getClusterPerf().maxMemSize
to check if the modification has
taken effect.
Note:
The modified configuration will expire after the cluster is rebooted. To make it permanent, please change the configuration parameter maxMemSize.