Bug report

John Arbash Meinel john at arbash-meinel.com
Mon Dec 17 13:21:28 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alexander Belchenko wrote:
> Vincent,
> 
> What do you think, your patch for http readv to read answer by chunks,
> is applicable to sftp transport? Symptoms looks pretty similar at first
> glance.
> 
> Alexander

sftp already reads in chunks. So it is something different.

I wonder if it has to do with Andrew's work to have the protocol write in
"chunked encoding".

I'm guessing the code might actually be using "get_data_stream()" rather than
"readv". But I'm not positive.

If it is using get_data_stream, then it is actually building up a large packet
of data to send over the wire.

Having memory problems with 1GB of RAM seems surprising.

If he is interested in testing, I suppose he could try doing one of the:

bzr branch -r 100, bzr pull -r 200, bzr pull -r 300, sort of things to see if
that works.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHZnfYJdeBCYSNAAMRAuGBAJ4ivdFZgGt73kEHFGZQ2VSS9g5IOwCfQcBJ
aZH9rPWiByV110PfVX+ZtG4=
=YcXw
-----END PGP SIGNATURE-----



More information about the bazaar mailing list