Friday, October 1, 2004

Memory leaks

So, Microsoft's web server, Internet Information Services (IIS), has a cool feature that monitors the "health" of your web applications. If your application crashes, or runs out of memory because of a memory leak, or gets into an infinite loop, the server can automatically reset the program. I was reading a message board today, and I came across someone whose program wasn't freeing the memory it was using. It was getting to a point where the program would completely use up all of the memory on the system before IIS would even have time to restart the application. He noticed this as a problem, and so his brilliant solution was to try to find a way to tweak IIS and get it to restart his program more frequently. Of course, one of the first responses to his question was something to the effect of, "maybe your time would be better spent fixing the memory leak in your program." The other guy responded, "why?"

If that doesn't turn your stomach, you're probably not a programmer. :)


Anonymous said...

Ack! How horrid! It makes me sad people like that get jobs.

Anonymous said...

I imagine I would be very hostile towards this person. As in, I would kill him/her.