Enable Memory monitoring in SM9.20

Experts,

We are having HP SM v9.20 build 021 in our environment, running on win 2k8 server R2.
We dont have any java heap memory parameters enabled in our sm.ini so far.

Recently we have started seeing the users are getting, Server running low on memory error when they login to win client. In the sm.log, I could find the below entry

  RAD E Server running low on memory, close some application tabs and try again
  RAD E Server running low on memory, relogin to the system

I have noticed that for SM9.20 version, there is a patch available for this issue, which I am not sure about.

https://softwaresupport.hp.com/group/softwaresupport/search-result/-/facetsearch/document/KM1414575

I am thinking to try to set heap memory parameters and see if it resolves the issue

JVMOption0:-Xms384m
JVMOption1:-Xmx512m
JVMOption2:-Xrs
JVMOption3:-XX: HeapDumpOnOutOfMemoryError
JVMOption4: UseParallelOldGC

I tried to increase the min and max heap to 512 and 1024 respectively. When I set to these values, SM services failed to start. If i use the above mentioned configuration it starts correctly.

Now I would like to enable memory monitoring parameter. Included memorypollinterval:300 in the sm.ini
and for debug logs , added log4jdebug:com.hp.ov.sm.common.oom.LowMemoryHandler in the sm.ini

When I do the application restart, i always see the entry that " memory monitoring is disabled " . Does this mean that the system parameter is not set ?


  6684(   156) 12/22/2015 15:33:19  RTE I smservice: start service event received for service sm920service
  6684(   156) 12/22/2015 15:33:19  RTE I smservice: starting process sm
  6028(  7860) 12/22/2015 15:33:19  RTE I Using "utalloc" memory manager
  6028(  7860) 12/22/2015 15:33:19  RTE I Command line: sm
  6028(  7860) 12/22/2015 15:33:19  RTE I Process sm 9.20.021 (021) System: 12670 (0x61E13C00) on PC (x86 32-bit) running Windows Server 2003 SP2 (5.2 Build 3790) from myhpsmserver.domain.com (x.x.x.x)
  6028(  7860) 12/22/2015 15:33:19  RTE I Creating resources for system '12670' with key 0x61E13C00
  6028(  7860) 12/22/2015 15:33:19  RTE I Created shared memory of size 96000000 using key 0x61E13C00 and attached to it at address 0x20000000
  6028(  7860) 12/22/2015 15:33:19  RTE I JVM successfully created
  6028(  7860) 12/22/2015 15:33:19 JRTE I Java version: 1.6.0_20
  6028(  7860) 12/22/2015 15:33:19 JRTE I Memory monitoring is disabled

Please guide to enable the memory monitoring and enable the debug logs.

Thx