2 Replies Latest reply on Jun 10, 2013 10:21 AM by bhaveshbhagat4

    AS7 modcluster load-metric capacity value for "heap"

    bhaveshbhagat4

      Hi,

       

      I am trying to configure load-metric type to "heap". From the following thread, it is apparent that I need to set capacity to actual value of heap (in MB).

      https://community.jboss.org/message/726617

       

      My question is, can I set this capacity value to picked-up dynamically (to match whatever I have set as "max-heap" --- something like follwoing) ?

      /profile=full-ha/subsystem=modcluster/mod-cluster-config=configuration/dynamic-load-provider=configuration/load-metric=jvmHeap/:add(type=heap,capacity="${jvm.max.heap}",weight=1)

       

      Any help would be greatly appreciated.

       

      Thank you!