Configuring the HTTP2 Heap Memory Tuning

This section describes how to configure the http2 heap memory tuning.

To configure the http2 heap memory tuning parameters, use the following configuration in the PCF Ops Center console:

config 
      advance-tuning app-resource-control rest-ep memory max-heap-size max_heap_size 
      advance-tuning app-resource-control rest-ep memory new-gen-size new_gen_size 
      advance-tuning http2-client-threading interface-config interface_type 
      max-thread-pool-size max_thread_pool_size 
      max-heap-size max_heap_size 
      exit 

NOTES:

  • advance-tuning app-resource-control rest-ep memory max-heap-size max_heap_size —Specifies the max heap size (in GB) allotted to a rest-ep. The accepted range contains integers. Default value is 4.

  • advance-tuning app-resource-control rest-ep memory new-gen-size new_gen_size —Specifies the new gen size (in GB) allotted to a rest-ep. The accepted range contains integers. Default value is 3.

  • advance-tuning http2-client-threading interface-config interface_type max-thread-pool-size max_thread_pool_size —Specifies the maximum size of the thread pool. The accepted range contains integers. The default value is 200, minimum value is 20, and the maximum value is 400.

  • advance-tuning http2-client-threading interface-config interface_type max-heap-size max_heap_size —Specifies http2-client max heap size configured for an interface. The accepted range contains long. The default value is -1, and the minimum value is 16384.

  • The above http2-client-threading configuration is supported for all type of interfaces (N5, N7, N15, N28, N36 and NRF).