Share via


Changing the Size of the Buffer for the Kernel Profiler

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

By default, when running in buffered mode, the kernel profiler uses a buffer size of approximately half the available system memory. You can specify a larger or smaller size for this buffer.

To change the size of the buffer for the kernel profiler

  • In the Config.bib file, in the MEMORY section, specify the size of the buffer as a dwProfileBufferMax variable.

    The following code example from the MEMORY section of a Config.bib file sets the size of the buffer to 2 MB.

    kernel.dll:dwProfileBufferMax  00000000  00200000 FIXUPVAR
    

    The maximum value for the dwProfileBufferMax variable is 256 MB. If the specified amount of system memory is not available, the kernel profiler chooses a smaller buffer size.

See Also

Concepts

Buffered and Unbuffered Profiling

Other Resources

Controlling the Kernel Profiler