Show Memory use to before and after LibDocs
Remove unnecessary debug output
This commit is contained in:
@@ -389,14 +389,14 @@ namespace DataLoader
|
||||
List<int> cachePartInfo = PartInfo.CacheList;
|
||||
FrItm = MigrateProcedure(cn, dr, FrItm, pth, docver, convertProcedures, activeFormat);
|
||||
if (FirstItm == null) FirstItm = FrItm;
|
||||
frmMain.MyInfo = string.Format("Before Restore {0}", GC.GetTotalMemory(true));
|
||||
//frmMain.MyInfo = string.Format("Before Restore {0}", GC.GetTotalMemory(true));
|
||||
ContentInfo.RestoreCacheList(cacheContentInfo);
|
||||
PartInfo.RestoreCacheList(cachePartInfo);
|
||||
ItemInfo.RestoreCacheList(cacheItemInfo);
|
||||
EntryInfo.RestoreCacheList(cacheEntryInfo);
|
||||
PdfInfo.RestoreCacheList(cachePdfInfo);
|
||||
DocVersionInfo.RestoreCacheList(cacheDocVersionInfo);
|
||||
frmMain.MyInfo = string.Format("After Restore {0}", GC.GetTotalMemory(true));
|
||||
//frmMain.MyInfo = string.Format("After Restore {0}", GC.GetTotalMemory(true));
|
||||
}
|
||||
}
|
||||
//GC.Collect();
|
||||
|
Reference in New Issue
Block a user