自寄宿WCF 服务,在运行时修改了 log4net 写日志的等级,发生了这个错误!
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name=".NET Runtime" />
<EventID Qualifiers="0">1026</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2020-08-19T01:01:34.000000000Z" />
<EventRecordID>30802</EventRecordID>
<Channel>Application</Channel>
<Computer>p3eqd201902.citicsm.com</Computer>
<Security />
</System>
<EventData>
<Data>应用程序: GDMM.Server.exe
Framework 版本: v4.0.30319
说明: 由于未经处理的异常,进程终止。
异常信息: System.OutOfMemoryException
堆栈:
在 System.Runtime.Fx+AsyncThunk.UnhandledExceptionFrame(System.IAsyncResult)
在 System.Net.LazyAsyncResult.Complete(IntPtr)
在 System.Net.LazyAsyncResult.ProtectedInvokeCallback(System.Object, IntPtr)
在 System.Net.HttpRequestStream+HttpRequestStreamAsyncResult.IOCompleted(HttpRequestStreamAsyncResult, UInt32, UInt32)
在 System.Net.HttpRequestStream+HttpRequestStreamAsyncResult.Callback(UInt32, UInt32, System.Threading.NativeOverlapped*)
在 System.Threading._IOCompletionCallback.IOCompletionCallback_Context(System.Object)
在 System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
在 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
在 System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32, UInt32, System.Threading.NativeOverlapped*)
</Data>
</EventData>
</Event>