Administer > System configuration parameters > System performance parameters > Startup parameter: maxhttpreqresponse

Startup parameter: maxhttpreqresponse

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

Parameter

maxhttpreqresponse

Description

This parameter defines the maximum response size (in bytes) for HTTP requests that are issued by using the doHTTPRequest JavaScript global method. Huge HTTP responses may result in high CPU utilization and memory consumption, and subsequently impact the performance of Service Manager. If the response size exceeds the value of maxhttpreqresponse, the doHTTPRequest call fails and an exception is generated.

A zero value disables the feature, which means there is no size limit.

Note This parameter does not limit the response sizes of doSOAPRequest calls.

Valid if set from

Server's operating system command prompt

Initialization file (sm.ini)

Requires restart of the Service Manager server?

Yes

Default value

20971520 (20MB)

Possible values

0: No size limit

Any size limit (in bytes)

Related topics

System parameters

Related topics

Enter a parameter in the sm.ini file

Related topics

JavaScript global method: doHTTPRequest
JavaScript global method: doSOAPRequest