Performance Analyzer maxing out ram while analyzing report...
-
Guys, I'm utilizing VS 2010 to do some memory performance checking on a WPF app. The tests run fine, and I can close the app, but it literally utilizes 6 of my 8 gig of memory during the "analysis process". I end up getting a low memory error from Visual Studio if I leave the process running for a few hours. If I pull up the resource monitor, I can see it taking more and more memory as each few seconds go by. Oddly enough the application really isn't that big, but I never get the final report because I simply lack the memory to get there. Any suggestions or tips on how to make it through and get an actual report before I hit the 8 gig limit? Thanks, Ryan
-
Guys, I'm utilizing VS 2010 to do some memory performance checking on a WPF app. The tests run fine, and I can close the app, but it literally utilizes 6 of my 8 gig of memory during the "analysis process". I end up getting a low memory error from Visual Studio if I leave the process running for a few hours. If I pull up the resource monitor, I can see it taking more and more memory as each few seconds go by. Oddly enough the application really isn't that big, but I never get the final report because I simply lack the memory to get there. Any suggestions or tips on how to make it through and get an actual report before I hit the 8 gig limit? Thanks, Ryan
Two things. 1) Limit your sample size. Run as little of the app under the profiler as possible or limit what the profiler is sampling, or 2) increase the RAM in the machine. My Dev box at home has 16G in it. My work laptop has 4G. Guess which one I do my profiling on...
A guide to posting questions on CodeProject[^]
Dave Kreskowiak