Bug report
Alexander Belchenko
bialix at ukr.net
Mon Dec 17 14:43:37 GMT 2007
John Arbash Meinel пишет:
> 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.
More details from Vlad (I translate his e-mail from Russian):
"This trick (with splitting revisions ranges) cannot be used because
error occurs on the first revision. My friend long time working on
Windows without version control, and then I (i.e. Vlad) get 1GB of data
files and create new repository, and then push it to server. So,
repository from the start becomes very big. And because usual checkout
command fails, I need to push branch via SMB.
More info. In the repository there are too many big files (10MB and
bigger). So, your assumption about big amount of requested data is
probably true.
I have python installed and therefore can patch python-based version of
bzr to check John Meinel's patch.
Logs will be later."
More information about the bazaar
mailing list