在運行vs2017的時候遇到了這樣的問題:
已超出資源限制。此時間段的數(shù)據(jù)收集已停止

咨詢了vs的工作人員。
得到回復(fù):
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.


