Ver Mensaje Individual
  #1  
Antiguo 04-08-2008
Avatar de ZayDun
ZayDun ZayDun is offline
Miembro
 
Registrado: mar 2007
Posts: 129
Reputación: 20
ZayDun Va por buen camino
Arrow IdHttp y la memoria

hola estoy trabajando con el componente Idhttp para descargar archivos pesados (200Mb aprox..) el proceso de descarga es muy simple..

Código Delphi [-]
var
Destino: TFileStream;
begin
  Destino:=TFileStream.Create('C:\', fmCreate);
  try
  IdHTTP.Get('http://www.laweb.com/prueba.rar',destino);
  finally
  Destino.free;

Funcionar funciona perfectamente, pero en cuanto comienza a descargar se relentiza mucho el programa llegando a ocupar 20 Mb de la RAM, no se si existe alguna manera para poder evitar esto.. un saludo!
Responder Con Cita