Menu

#49 System.OutOfMemoryException at System.Threading.ThreadHelper.ThreadStart()

v1.0_(example)
open
nobody
None
1
2014-01-30
2014-01-30
Anonymous
No

Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.OutOfMemoryException
Stack:
at System.RuntimeTypeHandle.CreateInstance(System.RuntimeType, Boolean, Boolean, Boolean ByRef, System.RuntimeMethodHandleInternal ByRef, Boolean ByRef)
at System.RuntimeType.CreateInstanceSlow(Boolean, Boolean, Boolean, System.Threading.StackCrawlMark ByRef)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean, Boolean, Boolean, System.Threading.StackCrawlMark ByRef)
at System.Runtime.InteropServices.Marshal.PtrToStructure(IntPtr, System.Type)
at SharpPcap.LibPcap.PcapHeader..ctor(IntPtr)
at SharpPcap.LibPcap.PcapDevice.MarshalRawPacket(IntPtr, IntPtr)
at SharpPcap.LibPcap.PcapDevice.PacketHandler(IntPtr, IntPtr, IntPtr)
at SharpPcap.LibPcap.LibPcapSafeNativeMethods.pcap_dispatch(IntPtr, Int32, pcap_handler, IntPtr)
at SharpPcap.LibPcap.PcapDevice.CaptureThread()
at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()

Exception was thrown in version 3.5. How to fix it?
Any idea?

Discussion

Anonymous
Anonymous

Add attachments
Cancel