采集数据时经常自动终止程序,附图
2012-11-11 11:08:03,548 ERROR System.Object [(null)] - UI Exception:
System.OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常。
在 System.String.GetStringForStringBuilder(String value, Int32 startIndex, Int32 length, Int32 capacity)
在 System.Text.StringBuilder..ctor(String value, Int32 startIndex, Int32 length, Int32 capacity)
在 System.Windows.Forms.Control.get_WindowText()
在 System.Windows.Forms.TextBoxBase.get_WindowText()
在 System.Windows.Forms.TextBoxBase.ScrollToCaret()
在 Client.Dock_FrmList.
.<appendResultInfo>b__14(Object
= , EventArgs
> )
在 System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
在 System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
在 System.Threading.ExecutionContext.runTryCode(Object userData)
在 System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
在 System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
在 System.Windows.Forms.Control.InvokeMarshaledCallbacks() 再一次出现。。。。
2012-11-11 11:08:03,548 ERROR System.Object [(null)] - UI Exception:
System.OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常。
在 System.String.GetStringForStringBuilder(String value, Int32 startIndex, Int32 length, Int32 capacity)
在 System.Text.StringBuilder..ctor(String value, Int32 startIndex, Int32 length, Int32 capacity)
在 System.Windows.Forms.Control.get_WindowText()
在 System.Windows.Forms.TextBoxBase.get_WindowText()
在 System.Windows.Forms.TextBoxBase.ScrollToCaret()
在 Client.Dock_FrmList.
.<appendResultInfo>b__14(Object
= , EventArgs
> )
在 System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
在 System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
在 System.Threading.ExecutionContext.runTryCode(Object userData)
在 System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
在 System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
在 System.Windows.Forms.Control.InvokeMarshaledCallbacks()
2012-11-11 15:08:39,337 ERROR System.Object [(null)] - UI Exception:
System.OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常。
在 System.String.InternalCopy(String str)
在 System.Text.StringBuilder.ToString()
在 System.Windows.Forms.Control.get_WindowText()
在 System.Windows.Forms.TextBoxBase.get_WindowText()
在 System.Windows.Forms.TextBoxBase.ScrollToCaret()
在 Client.Dock_FrmList.
.<appendResultInfo>b__14(Object
= , EventArgs
> )
在 System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
在 System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
在 System.Threading.ExecutionContext.runTryCode(Object userData)
在 System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
在 System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
在 System.Windows.Forms.Control.InvokeMarshaledCallbacks()
2012-11-11 15:09:19,556 ERROR System.Object [(null)] - UI Exception:
System.OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常。
在 System.String.GetStringForStringBuilder(String value, Int32 startIndex, Int32 length, Int32 capacity)
在 System.Text.StringBuilder..ctor(String value, Int32 startIndex, Int32 length, Int32 capacity)
在 System.Windows.Forms.Control.get_WindowText()
在 System.Windows.Forms.TextBoxBase.get_WindowText()
在 System.Windows.Forms.TextBoxBase.ScrollToCaret()
在 Client.Dock_FrmList.
.<appendResultInfo>b__14(Object
= , EventArgs
> )
在 System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
在 System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
在 System.Threading.ExecutionContext.runTryCode(Object userData)
在 System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
在 System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
在 System.Windows.Forms.Control.InvokeMarshaledCallbacks()
2012-11-11 15:32:05,199 ERROR System.Object [(null)] - UI Exception:
System.OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常。
在 System.IO.MemoryStream.set_Capacity(Int32 value)
在 System.IO.MemoryStream.EnsureCapacity(Int32 value)
在 System.IO.MemoryStream.Write(Byte[] buffer, Int32 offset, Int32 count)
在 System.Windows.Forms.RichTextBox.EditStreamProc(IntPtr dwCookie, IntPtr buf, Int32 cb, Int32& transferred)
在 System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
在 System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
在 System.Windows.Forms.Control.DefWndProc(Message& m)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.TextBoxBase.WndProc(Message& m)
在 System.Windows.Forms.RichTextBox.WndProc(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
内存溢出了!检查一下你的任务规则,修改下!我看你的第一张截图,采集的时候提示参数无效!尽量优化你的任务规则! zml123 发表于 2012-11-12 09:21 static/image/common/back.gif
内存溢出了!检查一下你的任务规则,修改下!我看你的第一张截图,采集的时候提示参数无效!尽量优化你的任 ...
谢谢!我再修改一下
页:
[1]