The Artima Developer Community
Sponsored Link

Java Buzz Forum
Writing Tests to Catch Memory Leaks in .NET

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
News Manager

Posts: 47623
Nickname: newsman
Registered: Apr, 2003

News Manager is the force behind the news at Artima.com.
Writing Tests to Catch Memory Leaks in .NET Posted: Nov 13, 2008 2:34 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by News Manager.
Original Post: Writing Tests to Catch Memory Leaks in .NET
Feed Title: testdriven.com
Feed URL: http://feeds.feedburner.com/testdrivennewslinks?news=10&links=10
Feed Description: Your test-driven development community
Latest Java Buzz Posts
Latest Java Buzz Posts by News Manager
Latest Posts From testdriven.com

Advertisement
Although Microsoft will claim that it is "not possible to have a memory leak in managed code", most seasoned .NET developers will laugh at that statement. It turns out that it is very easy to leak memory -- just keep a referencing object around longer than the referenced object, and you can leak.

Here is a way to write tests to catch leaks.

http://brian.genisio.org/2008/11/writing-tests-to-catch-memory-leaks-in.html

Read: Writing Tests to Catch Memory Leaks in .NET

Topic: Java FX Release December 2 / If you are in to Java, you should listen to this episode Previous Topic   Next Topic Topic: A Nice Accoustic Guitar Music To Begin Your Day With

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use