Search Results for

    Show / Hide Table of Contents

    AppDomains Tracker

    The AppDomains tracker can be used to associate instances with the AppDomain they were created in. The AppDomains tracker is particularly useful when profiling ASP.NET applications, or other applications that rely on AppDomains for separation.

    The AppDomains tracker is enabled by using the Enable AppDomains tracker check box General page under the session settings or in the start profiling wizard.

    If the AppDomain tracker is enabled, the AppDomain is recorded for each instance allocation (both managed instances and native resource instances). When comparing snapshots that contain AppDomain information, an AppDomains selector will be visible in the profiler window. This selector can be used to filter the snapshot data so that it only includes information about instances allocated in the selected AppDomain.

    Note

    The AppDomain filter will not affect the information presented in the Native memory view.

    Note

    It is not always possible to associate an instance with an AppDomain. The runtime can create instances internally, and native resource instances can be created in a native thread. To retrieve information about instances that are not associated with any AppDomain, the AppDomain selector must be set to show (all) AppDomains.

    In This Article
    Back to top

    © Copyright 2002-2020. SciTech Software AB.
    For information about .NET Memory Profiler, see the product site at https://memprofiler.com