2019-03-12已超出资源限制。此时间段的数据收集已停止

在运行vs2017的时候遇到了这样的问题:

已超出资源限制。此时间段的数据收集已停止

QQ图片20190311163331.png

咨询了vs的工作人员。
得到回复:

Thank you for reporting this issue. This warning is by-design when resource consumption by the Diagnostic Tools window exceeds certain defaults. You can configure the resource limits yourself if you want to avoid this problem.
By default, resource usage limits are enabled. The Diagnostic Tools session will automatically stop after 5 minutes (you can change this minimum session duration if you wish) if the data collected exceeds 20% of disk size or the memory consumed is more than 8GB of virtual memory. You can configure the disk % limit or the memory limit, or you can turn off resource usage limits altogether.
The way to access these settings if to drop down the "Select Tools" menu in the Diagnostic Tools window, then select the "Settings..." command.

显示诊断工具
设置
资源使用限制

你可能感兴趣的:(2019-03-12已超出资源限制。此时间段的数据收集已停止)