Visual Studio 2010-2012 + Nsight 4.0 Crashes often on 2nd-3rd capture

We use nsight for developing at our studio, however our graphics team encounters the same issue where Nsight crashes close to 80-90% during a second capture, with the probability increasing the more captures are taken.

I have a feeling that the visual studio process may be running out of memory, attaching a debugger causes it to detach immediately without hitting any exception violation / crash dump.

Nsight might be leaking a lot of resources when a capture is resumed? This problem may not show up unless the application is gpu intensive. The application is using DirectX 11 on Windows 7, 64bit.

Installed Physical Memory (RAM) 16.0 GB
Total Physical Memory 15.9 GB
Adapter Description NVIDIA GeForce GTX 650 Ti
Adapter RAM 1.00 GB (1,073,741,824 bytes)


When you say that Nsight is crashing, do you mean to say that the application you are debugging is crashing or is the Nsight UI inside of Visual Studio crashing? It sounds like you are referring to the latter.

We are certainly not expecting to leak resources – can you tell me the typical workflow you are using before you encounter the crash? e.g. If it is the VS Nsight UI, what windows are you opening, etc.