'Virtual Memory Limit' Failure Emulation Parameters

Applies to AQTime 8.81, last modified on November 27, 2020

About 'Virtual Memory Limit' Failure Emulation

Use this emulation type to check whether your application handles errors that occur when it tries to allocate only a limited amount of virtual memory. AQTime will catch all the attempts of your application to allocate virtual memory that exceeds the limit and make the application “think” that the virtual memory is not enough for the application run.

Note: The 'Virtual Memory Limit' failure emulation is supported only for native (unmanaged) applications. You cannot emulate memory failures when profiling managed applications.

Specifying Emulation Parameters

You can specify emulation parameters in the Profiler Options dialog which AQTime invokes upon running the Failure Emulator profiler or in the Failure Profiler Options dialog.

To create a new 'Virtual Memory Limit' failure emulation and specify its parameters:

  • In the dialog, click Add.

  • On the first page of the subsequent Add New Failure Emulation wizard, select the Memory category from the list on the left, then select Virtual Memory Limit from the list on the right and click Next.

  • On the second page of the wizard, specify all parameters for the selected failure emulation and click Finish.

To modify parameters of an existing 'Virtual Memory Limit' failure emulation:

  • Click the ellipsis button in the Parameters cell.

  • In the subsequent Edit 'Virtual Memory Limit' Failure Parameters dialog, modify the desired parameters and click OK.

AQTime saves your settings between profiler runs, so you will not have to define parameters next time you run the profiler.

Parameters

Memory Limit

Specifies the limit of virtual memory (in kilobytes) that can be used by the application during the profiling.

For information on using the Failure Emulator profiler, see Failure Emulator Profiler - Overview.

See Also

Memory Failure Emulation
Failure Emulation Reference
Failure Emulator Profiler - Overview

Highlight search results