Avoiding out-of-memory errors

To improve routing performance and avoid out-of-memory errors, use the following scripts to change the initial and maximum heap sizes:

Enter the following command to query the current heap size:

{INSTALL DIR}/bin/bcgwsadmin.sh -conntype
NONE -f {INSTALL DIR}/scripts/bcgQueryJVMHeapAttrs.jacl

Enter the following command to set the min/max heap size:

{INSTALL DIR}/bin/bcgwsadmin.sh -conntype
NONE -f {INSTALL DIR}/scripts/bcgSetJVMHeapAttrs.jacl

Change the heap size to the recommended values by editing the bcgSetJVMHeapAttrs.jacl file as shown.

Default:

First recommendation:

Second recommendation:

Copyright IBM Corp. 2003, 2005