Inside Windows 7: RADAR - Windows Automatic Memory Leak Detection
- Posted: Sep 15, 2009 at 8:29 AM
- 62,783 Views
- 8 Comments
Download
How do I download the videos?
- To download, right click the file type you would like and pick “Save target as…” or “Save link as…”
Why should I download videos from Channel9?
- It's an easy way to save the videos you like locally.
- You can save the videos in order to watch them offline.
- If all you want is to hear the audio, you can download the MP3!
Which version should I choose?
- If you want to view the video on your PC, Xbox or Media Center, download the High Quality WMV file (this is the highest quality version we have available).
- If you'd like a lower bitrate version, to reduce the download time or cost, then choose the Medium Quality WMV file.
- If you have a Zune, WP7, iPhone, iPad, or iPod device, choose the low or medium MP4 file.
- If you just want to hear the audio of the video, choose the MP3 file.
Right click “Save as…”
- High Quality WMV (PC, Xbox, MCE)
- MP3 (Audio only)
- MP4 (iPod, Zune HD)
- Mid Quality WMV (Lo-band, Mobile)
- WMV (WMV Video)
RADAR is a memory leak detection technology built into Windows 7 and integrated with Watson (error reporting) and AutoBug (automatic bug filing). It allows Microsoft product teams and third parties to discover and fix memory leaks early in the product
cycle and after release. Since RADAR runs on customer machines, leaks can be caught during public betas, after release, and by third parties, thus ridding the entire ecosystem of memory leaks. RADAR-shipped components are highly optimized to have no appreciable
performance impact.
Meet RADAR developers Stephan Doll, Baskar Sridharan, Anthony Lorelli and Keshava Subramanya. They dig into the architecture, design and implementation of this great technology. RADAR helps make Windows more reliable and stable
by automatically pinpointing memory leaks in code that are then packaged up in bug reports that land in the hands of developers responsible for the memory leaking code. This means quicker to market solutions and knowledge gain that will prevent the same bugs
from cropping up again: developers learn what went wrong and why so wthey won't make the same mistakes again. You'll learn about the most common mistakes made and you should use this to prevent memory leaks in your own native code.
Tune in. Learn.
Tune in. Learn.
Comments Closed
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Does this mean that there are no memory leaks in Windows (except 3th party drivers)?
Of course not. It means that when memory leaks happen on Windows, chances are RADAR will detect them and send accurate information (sans personally identifiable information, of course) back to the mothership for bug triage and correction.
Did you watch and listen to the conversation?
C
Well the data captured during the beta and RC must have caught a lot of them, no?
Also, how can 3th party developers use radar?
Indeed. Memory leaks were found. The point, though, is that RADAR is running on Win7 RTM too and data is still being captured (when a leak is detected). So, yes, bugs were fixed and shipped in RTM. Chances are, new bugs will emerge. When it happens in 3rd party software, the Windows team provides the information to the right ISVs. As of now, RADAR is not hooked into 3rd party bug filing processes. As stated in the video, that may change in the future. For sure, we do not only capture MS offending code... Let's say Firefox leaks memory. That information is detected, captured and packaged by RADAR and sent to MS via Windows telemetry services. We will then communicate the gory details to the Firefox development team so they can fix their code.
C
I'd like to know if RADAR is publicly available?
Wouldn't it be great if 3rd party software developers could use it to find their own bugs,
instead of waiting for the Window team to find the bugs and leaks for them...?
Can you detect RAM failures from "real" programming hickups?
I recently had faulty RAM installed and programs crashed, will sending in the reports help or hurt research?
Help. Windows 7 is capable of detecting memory hardware failures (you would need to run the memory diagnostics tool at boot-up).
C
I see quite a few (14) registry entries which contain the string
Microsoft\RADAR\HeapLeakDetection\DiagnosedApplications\
Can I delete them?
Can anyone tell me how to decode the date information?
Remove this comment
Remove this thread
close