The options for memory diagnostic.

interface DiagOptions {
    callerDetail?: boolean;
    callerStats?: boolean;
    enabled: boolean;
}

Properties

callerDetail?: boolean

Records the callstack of creating each XmlDisposable.

callerStats?: boolean

Generates statistics of the callstack for XmlDisposable.

enabled: boolean

Enables the memory diagnostics. Note that the tracking information will be lost when it is disabled.