UOWs can fail due to out of memory errors on device drivers based on vendor-supplied Yang
models. Configure the memory settings to prevent these errors.
About this task
Due to the large size of some Yang model-based drivers, device imports and other UOWs might fail
due to out of memory errors, which can be seen in the UOW logs. These drivers are supported only on
client and server 64-bit architectures. Increase the client and server memory settings to avoid
these errors.
To configure the memory settings, complete the following steps:
Procedure
-
Ensure that your user is in a group with the Manage System activity.
- Access System Properties from the Systems Manager. Select .
The System Properties screen is displayed and shows the following
information for each property:
- Property name
- Short description of the property
- Field type
- Current value associated with the property
- Select the system property to be modified from the upper pane of the System
Properties screen.
The current value held in the particular property chosen populates into the
Property Edit pane in the bottom half of the screen.
- Modify the following property values and then click Update to
apply the changes. All values are in MB.
- Minimum Client Memory
- Set this system property to the value
512m
- Maximum Client Memory
- Set this system property to the value
4096m
- Memory Manager - Memory Reserved For Drivers
- Set this system property to
1024m
- Memory Manager - Schema Scale Factor (64-bit)
- Set this system property to the value
3.5
Important: The Memory Manager - Memory Reserved For Drivers and
Memory Manager - Schema Scale Factor system properties are not normally to be
modified except under the direction of IBM Support. However, in order to avoid the out of memory
errors on Juniper devices it is necessary to configure these properties as described here.
-
Set the heap space for any presentation servers:
- Open
/<ncm install
path>/bin/utils/support/setEnv.sh
- Edit the following WebSphere parameters:
WEBSPHERE_MAXIMUMHEAP_SIZE=4096
WORKER_MEM_ARGS="-Xms512m -Xmx8192m -XX:MaxPermSize=128m"
COMPSERV_MEM_ARGS="-Xms512m -Xmx2048 -XX:MaxPermSize=128m"
- Execute
/<ncm install path>/bin/utils/support/setWSMem.sh
to set
the memory variables updated within 'setEnv.sh'.
-
Configure memory settings for worker servers (including linked and standalone), and on the
presentation server:
- Open
/<ncm install
path>/bin/utils/support/setEnv.sh
- Edit WORKER_MEM_ARGS as required.
Note: Do not run setWSMem.sh.
-
Configure memory settings for IDT servers:
- Open
/<ncm install
path>/bin/utils/support/setEnv.sh
- Edit IDT_MEM_ARGS as required.
Important: Do not run setWSMem.sh.
- Restart Netcool Configuration
Manager.