I've had a problem like this using the flickr api and net/http. All it 
did was download images from Flickr, it ran pretty much 24/7 but some 
days it would just eat massive amounts of virtual ram, 900Mb plus.

I've wrapped the whole thing in a shell script now to get around the 
problem. Any idea how to track where the memory is going on a live system?