控制台应用程序.NET RUNTIME ERROR 1026 [英] Console Application .NET RUNTIME ERROR 1026

查看:1186
本文介绍了控制台应用程序.NET RUNTIME ERROR 1026的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请帮助解决以下问题。这是侦听源流并将其保存在数据库中的控制台应用程序的崩溃日志。在几个小时内,可能一天之后,应用程序崩溃并给出.net运行时1026错误。
我创建了一个任务 调度程序,以便在发生事件时从头开始运行应用程序,但是在4次运行后,错误提供了"关闭程序"。通知和 计划程序无法再次运行。



请帮助,我不知道该怎么做。 。 。$



申请:TweetusFilterStreamReader.exe

框架版本:v4.0.30319

描述:由于未处理的异常,该流程终止。

异常信息:System.OutOfMemoryException

Stack:

   在System.Threading.Thread.StartInternal(System.Security.Principal.IPrincipal,System.Threading.StackCrawlMark ByRef)

    at System.Threading.Thread.Start(System.Threading.StackCrawlMark ByRef)

    at System.Threading.Thread.Start()

   在TweetusFilterStreamReader.TweeterFilterStreamReader.StartListeningStream()

   在TweetusFilterStreamReader.Program.twitStream_OnTwitterStreamListenerHalted(TweetusFilterStreamReader.TweeterFilterStreamReader)

   在TweetusFilterStreamReader.TweeterFilterStreamReader.EmitOnTwitterStreamListenerHaltedEvent()

   在TweetusFilterStreamReader.TweeterFilterStreamReader.StreamListenerThreadStopListenerThread()

    at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)

    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()


解决方案

< blockquote>你的应用程序运行内存不足,尝试使用WinDbg转储进程并分析内存泄漏。


Please HELP to resolve the following issue. This is the crash log of a console application that listens to the feed stream and saves it in database. From time to time in several hours, maybe after a day the app crashes and gives .net runtime 1026 error. I made a task scheduler to run the app from the scratch when event occurs but  after 4 runs the error gives "Close Program" notification and scheduler is not able to run again.

Please help, I don't know what to do . . .


Application: TweetusFilterStreamReader.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.OutOfMemoryException
Stack:
   at System.Threading.Thread.StartInternal(System.Security.Principal.IPrincipal, System.Threading.StackCrawlMark ByRef)
   at System.Threading.Thread.Start(System.Threading.StackCrawlMark ByRef)
   at System.Threading.Thread.Start()
   at TweetusFilterStreamReader.TweeterFilterStreamReader.StartListeningStream()
   at TweetusFilterStreamReader.Program.twitStream_OnTwitterStreamListenerHalted(TweetusFilterStreamReader.TweeterFilterStreamReader)
   at TweetusFilterStreamReader.TweeterFilterStreamReader.EmitOnTwitterStreamListenerHaltedEvent()
   at TweetusFilterStreamReader.TweeterFilterStreamReader.StreamListenerThreadStopListenerThread()
   at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
   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()

解决方案

Your application is runnning out of memory, try dumping the process and analyse it for the memory leak using WinDbg.


这篇关于控制台应用程序.NET RUNTIME ERROR 1026的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆