Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

marshalCleanupError MDA

The marshalCleanupError managed debugging assistant (MDA) is activated when the common language runtime (CLR) encounters an error while attempting to clean up temporary structures and memory used for marshaling data types between native and managed code boundaries.

A memory leak occurs when making native and managed code transitions, runtime state such as thread culture is not restored, or errors occur in SafeHandle cleanup.

An unexpected error occurred while cleaning up temporary structures.

Review all SafeHandle destructor, finalizer, and custom marshaler implementations for errors.

This MDA has no effect on the CLR.

A message reporting the operation that failed during cleanup.

<mdaConfig>
  <assistants>
    <marshalCleanupError />
  </assistants>
</mdaConfig>
Show:
© 2015 Microsoft