> I am suspecting some kind of a leak on a IO object like a file or socket descriptor is still open. Are you sure you're closing them all? You mentioned a finally clause so is it possible that your code is throwing an exception before you clean everything up?