Show Memory use to before and after LibDocs

Remove unnecessary debug output
This commit is contained in:
Rich
2012-06-08 18:11:54 +00:00
parent 0d8f8e4a39
commit 9b7a8ee6fa
2 changed files with 6 additions and 4 deletions

View File

@@ -31,7 +31,8 @@ namespace DataLoader
private void MigrateLibDocs(OleDbConnection cn, string pth)
{
frmMain.AddInfo("Before MigrateLibDocs\r\n{0}", VEPROMS.CSLA.Library.CSLACache.UsageAll);
// MessageBox.Show("Before LibDocs");
frmMain.AddInfo("Before MigrateLibDocs{0}\r\n{1}", GC.GetTotalMemory(true), VEPROMS.CSLA.Library.CSLACache.UsageAll);
// Get all of the library documents - the first list has the entire list of files
// found within the rtffiles folder, the second list contains usages from the 'tran'
// file. During processing for procedures/sections occurs, the used library documents
@@ -65,7 +66,8 @@ namespace DataLoader
dicLibDocRef[key] = dicLibDocSect[dr_doc["TONUMBER"].ToString().ToUpper()];
}
da_doc.Dispose();
frmMain.AddInfo("After MigrateLibDocs\r\n{0}", VEPROMS.CSLA.Library.CSLACache.UsageAll);
frmMain.AddInfo("After MigrateLibDocs{0}\r\n{1}", GC.GetTotalMemory(true), VEPROMS.CSLA.Library.CSLACache.UsageAll);
// MessageBox.Show("After LibDocs");
}
private int MigrateLibDoc(FileInfo fi)
{