From 9cb768bcbd748e6f1308ce511d3b1541b5491c6e Mon Sep 17 00:00:00 2001 From: "James B. Pollack" Date: Thu, 28 Jan 2016 11:42:51 -0800 Subject: [PATCH] document no debug heap trick --- BUILD_WIN.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/BUILD_WIN.md b/BUILD_WIN.md index 671fed5a97..25e20952ca 100644 --- a/BUILD_WIN.md +++ b/BUILD_WIN.md @@ -98,3 +98,7 @@ If you need to debug Interface, you can run interface from within Visual Studio * In the Solution Explorer, right click interface and click Set as StartUp Project * Set the "Working Directory" for the Interface debugging sessions to the Debug output directory so that your application can load resources. Do this: right click interface and click Properties, choose Debugging from Configuration Properties, set Working Directory to .\Debug * Now you can run and debug interface through Visual Studio + +For better performance when running debug builds, set the environment variable ```_NO_DEBUG_HEAP``` to ```1``` + +http://preshing.com/20110717/the-windows-heap-is-slow-when-launched-from-the-debugger/