在运行vs2017的时候遇到了这样的问题:
已超出资源限制。此时间段的数据收集已停止
咨询了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.