Friday, February 16, 2018

.NET Core console app crashing

I was wondering if anyone could help me with a .net core console app that keeps crashing after left running for a few hours.

Here is an image of the error I'm getting: https://imgur.com/a/xlxKA

And the app is VERY simple, I've wrapped the code in try/catch plus an error handler to try to prevent it from crashing. Memory use looks ok.

https://dotnetfiddle.net/2ZiWsp

Any idea how I can debug this, or do you see any issues in the code? Note the code compiles and runs fine, it crashes after running for a few hours in the console.

.NET Core console app crashing Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team