How to Disable a Specific MDA As Mike Stall has noted in his post , the PInvokeStackImbalance MDA can be very slow, depending on the number of pinvoke calls in an application. Recently, we have had a few customers running into this issue, but MSDN does