Parameter: gcthreshold

Startup parameters change the behavior of the HPE Service Manager server. You can always set a startup parameter from the server's operating system command prompt.

Parameter

gcthreshold

Description

This parameter is used to prevent the native heap from running out of memory. It specifies the threshold (in megabytes) at which an increase in native heap usage in HPE Service Manager triggers JavaScript garbage collection. If the Service Manager native heap usage has increased by the specified number of megabytes since the last JavaScript garbage collection, JavaScript garbage collection is triggered, and the native heap memory referenced by the recycled JavaScript objects is therefore freed. The minimum value for this parameter is 2 megabytes.

Caution Be cautious when changing this parameter from the default value. Setting this parameter to a large value may result in "out of memory" errors.

Valid if set from

Initialization file (sm.ini)

Requires restart of the Service Manager server?

Yes

Default value

10 megabytes

Possible values

No less than 2 megabytes

Example usage

Initialization file: gcthreshold:5