Supported Platforms
Related Documentation
- ACX, EX, J, M, MX, PTX, SRX, T Series
- max-policies
- Example: Configuring Limits on Executed Event Policies and Memory Allocation for Scripts
max-datasize
Syntax
Hierarchy Level
Release Information
Statement introduced in Junos OS Release 12.3.
Description
Maximum amount of memory allocated for the data segment during execution of a script of the given type. Junos OS sets the maximum memory limit for the executing script to the configured value irrespective of the total memory available on the system at the time of execution. If the executing script exceeds the specified maximum memory limit for that script type, it exits gracefully.
Default
If you do not include the max-datasize statement, the system allocates half of the total available memory of the system up to a maximum value of 128 MB for the data segment portion of the executed script.
Options
size | — | Maximum amount of memory allocated for the data segment during execution of a script of the given type. If you do not specify a unit of measure, the default is bytes. |
Syntax: size to specify bytes, sizek to specify KB, sizem to specify MB, or sizeg to specify GB
Range: 2,3068,672 (22 MB) through 1,073,741,824 (1 GB)
Required Privilege Level
maintenance—To view this
statement in the configuration.
maintenance-control—To
add this statement to the configuration.
Related Documentation
- ACX, EX, J, M, MX, PTX, SRX, T Series
- max-policies
- Example: Configuring Limits on Executed Event Policies and Memory Allocation for Scripts
Published: 2013-03-05
Supported Platforms
Related Documentation
- ACX, EX, J, M, MX, PTX, SRX, T Series
- max-policies
- Example: Configuring Limits on Executed Event Policies and Memory Allocation for Scripts