'Low Memory Notification' Failure Emulation

Applies to AQTime 8.81, last modified on May 21, 2021

About 'Low Memory Notification' Failure Emulation

The Windows operating system lets applications control the amount of available memory resources and adjust the application behavior when there resources are below certain level. To detect these situations, application developers create a memory resource notification object with the Windows API CreateMemoryResourceNotification function, and then call the QueryMemoryResourceNotification function at certain points in time to get the object state.

Quite often, the amount of available memory resources is large and it may be difficult to check how the application works when there is not enough memory. The 'Low Memory Notification' emulation simplifies this task.

When emulating the 'Low Memory Notification' failure, AQTime handles the calls to the “query” function and makes the application “think” that the operating system lacks memory resources (that is, AQTime makes the application “think” the object is signaled).

You can add this emulation type to profiling tasks in the Profiler Options dialog that AQTime displays when you start profiling, or you can do this at any time in the Failure Emulator Options dialog. See Failure Emulator Profiler - Setting Up Emulated Failures for detailed information.

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

Parameters

This emulation type has no parameters.

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