Main Content

request-size-limit

Set the maximum size of a request

Syntax

--request-size-limit  size

Description

request-size-limit specifies the maximum size of a request. The default request size is 64 MB. The maximum allowed request size is 2,147,483,647 bytes, which is the maximum positive value for a 32-bit signed integer.

Parameters

size

Size of the request, specified as an integer followed by an optional size unit. The default unit is bytes.

Examples

  • For on-premises server instances created using the command line, update this server configuration property in the main_config server configuration file.

  • For on-premises server instances created using the dashboard and for server deployments in the cloud, use the dashboard and cloud dashboard, respectively, to update the server configuration property.

Configure Using Command Line

Set Request Size to 128 MB

In the main_config file, set the request-size-limit property to the following:

--request-size-limit 128MB

Configure Using Dashboard

Set Request Size to 128 MB

In the dashboard, in the Settings tab of your server instance, under Core, enter the following for the Request Size Limit property:

128MB

See Also