Added memory usage to output

Add separate counts for Errors, Warnings and Information
This commit is contained in:
Rich
2012-05-21 13:27:44 +00:00
parent 07fd6f3a4e
commit 508a86a8ac
2 changed files with 43 additions and 11 deletions

View File

@@ -52,7 +52,8 @@ namespace DataLoader
if (System.IO.File.Exists(fname))
{
FileInfo myFile = new FileInfo(fname);
frmMain.AddInfo("Processing {0}", fname);
GC.Collect();
frmMain.AddInfo("Processing {0} {1}", fname, GC.GetTotalMemory(true));
//string tmpName = @"C:\Temp\DataLoader\" + myFile.Name.Replace(".", "_") + ".RTF";
string tmpName = Path.GetTempFileName();
string temppath = Path.GetTempFileName();