I am trying to profile a C++ program using Visual Studio 2017. I get the error below:
Visual Studio 2017 instrumentation profiling: Error VSP1381: Buffer pool has been exhausted. Profiling data will be ignored until VSPerfMon.exe is shutdown or a new VSP file is created.
I was previously using Visual Studio 2012 and this instrumentation profiling works fine for me there. But switching to 2017 resulted in this above error.
Any suggestion on how to resolve this?
Per Ramhound's suggest I ran the command vsperfcmd /admin:driver,start /admin:service,start
Below is the output.
c:\Program Files (x86)\Microsoft Visual Studio\Shared\Common\VSPerfCollectionToo
ls>vsperfcmd /admin:driver,start /admin:service,start
Microsoft (R) VSPerf Command Version 15.0.27906 x86
Copyright (C) Microsoft Corp. All rights reserved.
driver,start
Installing VSPerfDrv150
VSPerfDrv150 installed
Starting VSPerfDrv150
VSPerfDrv150 started
service,start
Installing VSPerfSrv
Starting VSPerfSrv
VSPerfSrv started
vsperfcmd /admin:driver,start /admin:service,start? – Ramhound Jun 21 '19 at 17:57driver,start
Installing VSPerfDrv150 VSPerfDrv150 installed Starting VSPerfDrv150 VSPerfDrv150 started
service,start
Installing VSPerfSrv Starting VSPerfSrv VSPerfSrv started. Thanks so much
– user11594134 Jun 21 '19 at 20:57