Skip to content

staufour/LoggerPerfTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LoggerPerfTest

Demonstrates a memory leak problem with the use of NLog asynchronously using ${threadid}, GDC or MLDC in the layout.

With the threadid or GDC or MLDC in the layout of a target with async=true, the current thread blocks and the memory increases until a crash (OutOfMemory).

In the code (Program.cs or HomeController.cs) uncomment the 'PerfTestCrash' logger to see the exception. Work fine with the 'PerfTest' logger.

WARNING This example generate a >3GB log file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors