-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Micah Cowan wrote:
> A bug report made to Savannah
> (https://savannah.gnu.org/bugs/index.php?20496) detailed an example
> where wget would download a recursive fetch normally, but then when run
> again (with -c), it would eat up vast (_vast_) amounts of memory, until
> finally it would give up due to running out of memory. Some of the files
> involved were >1GB video files, and may have been updated with slightly
> smaller versions between calls to wget.

I've now split this bug report apart, to deal with the separate issues I
mentioned in my initial post for this thread. See the original bug
report (see above link) for details.

Right now, I think the most important thing to determine is: what would
be an appropriate size limit for HTML files to be read in for parsing?
I'd rather err on the side of permissiveness, rather than
restrictiveness: I don't want to risk breaking wget for real-world,
large HTML files. Is 15MB a decent value?

I'm expecting that, when a file of such size or greater is encountered,
it would simply be left alone and not parsed, rather than read up to the
limit, and parse up to that point, but if anyone would like to argue for
the latter behavior, I'm listening. The main reason I think it's not
worthwhile is that such files seem less likely to actually be HTML files.

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGr8fz7M8hyUobTrERCELsAJ0WEM1T7eP0dJUIdwxVok4Lv3oyuQCfUhmF
kQabVs1p8ujf5YmjIMviDMU=
=Yshj
-----END PGP SIGNATURE-----

Reply via email to