c#visual studio 2017 CPU分析内存exception

我有一个长期运行的c#应用程序,我正在浏览Visual Studio 2017社区版。 在我停止分析(和应用程序)以查看CPU使用率之前运行大约2/3小时。 但是我可以看到它在构建报告时内存使用量增加3GB然后抛出内存不足exception。

Profiling started. Profiling process ID 7312 (test). Starting data collection. The output file is C:\Users\jamie\Source\Repos\test(1).vspx Profiler stopping. Stopping data collection. Merging collection data. Please wait... Data is saved in file C:\Users\jamie\Source\Repos\test(1).vspx Profiling finished. Exception of type 'System.OutOfMemoryException' was thrown. 

我能做些什么来解决这个问题,还是只需要获得更多内存?

奇怪的是,我的机器上的总内存使用率大约是65%,因此它甚至没有使用我所有的内存来构建分析报告。

这是VS的全新安装,它具有所有默认设置。