Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jun : Re: tIdTCP out of memory
| Subject: | Re: tIdTCP out of memory |
| Posted by: | "Francisco Ruiz" (franc..@cicar.com) |
| Date: | Tue, 20 Jun 2006 10:42:36 |
Thank you,
It's true I'm using an older version of Indy 10, I will upgrade now to the
most recent snapshot and try again.
F.Ruiz
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> escribió en el mensaje
news:4496df95@newsgroups.borland.com...
>
> "Francisco Ruiz" <francis@cicar.com> wrote in message
> news:4496d0d2@newsgroups.borland.com...
>
>> I'm trying to 'put' a 4GB file with TIdFTP
>
> Which specific build of Indy 10 are you using?
>
>> using file and stream methods, in both cases I get a
>> Exception OutOfMemory.
>
> Sounds like you are probably using an older build. There was a problem in
> the older builds where TIdIOHandler.Write(Stream) was trying to buffer the
> entire stream into memory before sending it. That has already been
> corrected.
>
>> Of course using ADataChannel.IOHandler.LargeStream in
>> OnDataChannelCreate.
>
> In the current snapshot, you do not need to do that anymore. You can set
> LargeStream to True on the main connection and it will automatically be
> picked up on all transfer connections.
>
>
> Gambit
none