9.5 npdashboardsetstoragememory command (modify storage memory settings)
Description
This command modifies settings for the memory capacity required by the storage service of the dashboard server.
- Note
-
After you have executed this command, you need to restart the dashboard server to apply the modifications.
Execute this command as a user with the Windows administrator privileges while the dashboard server is running.
Before you execute this command, use the file listed in the following to check the settings in effect before modification:
-
Target directory
Navigation-Platform-installation-directory\PP\OpenSearch\opensearch\config
-
File name
jvm.options.npsettings.txt
-
File contents
Minimum heap memory size m (MB) for -XmsJavaVM Maximum heap memory size m (MB) for -XmxJavaVM
For example, if JavaVM's minimum heap memory size is 1,024 MB and maximum heap memory size is 1,024 MB, the file contents are as follows:
- Example
-
-Xms1024m
-Xmx1024m
Format
npdashboardsetstoragememoryΔminimum-sizeΔmaximum-size
For the minimum size, specify JavaVM's minimum heap memory size as an integer in the range from 512 to 2048.
For the maximum size, specify JavaVM's maximum heap memory size as an integer in the range from 1024 to 2048.
Return value
Return value |
Description |
---|---|
0 |
The command terminated normally. |
1 |
The command terminated abnormally. |
9 |
An execution permission error occurred. |
Example
In this example, JavaVM's minimum heap memory size is 1,024 MB and the maximum heap memory size is 2,048 MB.
> Navigation-Platform-installation-directory\bin\npdashboardsetstoragememory 1024 2048