我目前正在尝试在 Service Trace Viewer 工具中加载一个 32MB 的跟踪文件,但性能很差。按照这个速度,大约需要半个小时来处理。我认为应该通过部分加载来防止的事情。微软就此事发表以下声明:
You do not need to manually enable partial loading. If the total size of the trace file(s) you attempt to load exceeds 40MB, Service Trace Viewer automatically displays a Partial Loading dialog for you to select the part that you want to load.
真的没有办法为小于 40MB 的文件启用此功能吗?
最佳答案
1) 保留一些仅比 40MB 大一点的旧日志
2) 将旧的和新的 xml-log 放到 SvcTraceViewer 窗口中
3) 出现部分加载窗口
4)选择你需要的时间范围
5) 除非您选择的时间范围太宽,否则不会加载旧的 xml-log
关于wcf - 如何在 Service Trace Viewer 中为小于 40 mb 的文件启用部分加载,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3212143/