/// <summary> /// Fixed: /// </summary> public void Finish(int responseSize = 0) { if (responseSize > 0) { ResponseSize = responseSize; } Elapsed = (DateTime.Now - StartTime).TotalMilliseconds; var currentProcess = Debugs.CurrentProcess(); WorkingSet64 = currentProcess.WorkingSet64; VirtualMemorySize64 = currentProcess.VirtualMemorySize64; ProcessId = currentProcess.Id; ProcessName = currentProcess.ProcessName; BasePriority = currentProcess.BasePriority; Update(writeSqlToDebugLog: false); }