Documentation

Documentation
V5 Documentation

Method Data Limit

Project-level NCrunch configuration setting Introduced NCrunch v5.0 Default Value: 100,000
ID/Tag in config file: MethodDataLimit

Purpose

This setting controls the size of the RDI method data limit for the associated project.

The data limit determines the maximum number of bytes NCrunch RDI is allowed to collect for any given method. When the total data collected for all calls of a method exceeds the limit, no further data will be collected for the method.

Recommendations

Changing this setting has significant implications for RDI's disk space consumption. The RDI method data limit is RDI's most important limit for keeping collected data within reasonable limits. If the method data limit is disabled, a test log can potentially expand until it reaches the storage data limit.

Increasing the method data limit will allow RDI to collect more frames for each method, expanding the amount of data that is searchable and browsable in the RDI overlay. This can also cause tests to execute slower, as once the limit is reached, collection will shut down, reducing the cost of collection on test execution speed.

The behaviour of this setting can be overridden at test level by MethodDataLimitAttribute and in regions of code using the method data limit inline directive.

Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download