[PRL] Princeton lost the DARPA Grand Challenge because of a C# memory leak

Mitchell Wand wand at ccs.neu.edu
Sun Nov 18 14:46:17 EST 2007


That's the headline in Reddit, at least.  The actual story is much more
prosaic, but still interesting:

> Our actual bug occurred in the obstacle detection code. As we detect
> obstacles in each frame, we store the ones we detect. As the car moves, we
> call an update function on each of the obstacles that we know about, to
> update their position in relation to the car. Obviously, once we pass an
> obstacle, we don't need keep it in memory, so everything 10 feet behind the
> car got deleted.
>
> Or so we thought.
>
http://www.codeproject.com/showcase/IfOnlyWedUsedANTSProfiler.asp
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the PRL mailing list