> > I'm downloading files from the web using Net::HTTP. > > Sometimes, after the program ran for a while, I get > > > > system stack error I solved the problem: I was iterating through an array, *and* calling the same method as rescue. Now I just print something in rescue (which AFAIK returns nil); this way, it just goes on iterating, instead of calling itself *and* iterating further, which was an overkill and seems to have caused the poor system to stack more than thousand levels of method calls. Tobi -- Tobias Reif http://www.pinkjuice.com/myDigitalProfile.htm