[Tutor] MemoryError !!! Help Required
Luke Paireepinart
rabidpoobear at gmail.com
Mon Apr 7 07:32:53 CEST 2008
devj wrote:
> Hi,
> I am making a web crawler using Python.To avoid dupliacy of urls,i have to
> maintain lists of downloaded urls and to-be-downloaded urls ,of which the
> latter grows exponentially,resulting in a MemoryError exception .What are
> the possible ways to avoid this ??
>
get more RAM, store the list on your hard drive, etc. etc.
Why are you trying to do this? Are you sure you can't use existing
tools for this such as wget?
-Luke
More information about the Tutor
mailing list