System.TypeInitializationException

Memory profiling for .NET developers

System.TypeInitializationException

Postby tizzo233 » Thu Aug 28, 2014 11:06 pm

I am calling the TakeSnapShot API, and I get the following error. My application is .net 3.5. I have the memory profiler open and running. I can take snap shots manually.

2014-08-28 15:41:25,607 ERROR RuntimeService- RedGate.MemoryProfiler: caught exception, error message: System.TypeInitializationException: The type initializer for '#c.#b' threw an exception. ---> System.TypeInitializationException: The type initializer for '#Xdi' threw an exception. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at #kZ.#jZ.#Xdi..cctor()
--- End of inner exception stack trace ---
at #kZ.#jZ.#Udi.#jei()
at #kZ.#jZ.#Udi.#kei(Byte[] #vAo, Int32 #txc, Int32 #9zx)
at #kZ.#jZ.#H3(Byte[] #qXi)
at #kZ.#jZ.#H3(Byte[] #qXi)
at #c.#b..cctor()
--- End of inner exception stack trace ---
at #c.#b.#Jj(Int32 #UIrc)
at #BaV.#b.#78()
at #BaV.#b.#FaV()
at RedGate.MemoryProfiler.Snapshot.TakeSnapshot()
at Intel.STHI.Device.Runtime.RuntimeService.TakeMemorySnapShot(Object sender, ElapsedEventArgs e) in c:\\PPV\\Common DLLs\\DRT\\DeviceRuntime.cs:line 466
tizzo233
 
Posts: 1
Joined: Thu Aug 28, 2014 11:01 pm

Return to ANTS Memory Profiler 8

Who is online

Users browsing this forum: No registered users and 0 guests

cron