[Zope] Helpppp - Problems with big files

Antonio Beamud Montero antonio.beamud@agora-2000.com
30 Oct 2002 18:49:34 +0100


Hi again:
In a request I need to response a big file in the body of the response
(around 1Gb or 1,5Gb). 
All I do is:
   response.setHeader('content-lenght',size)
   response.setHeader('content-Disposition',loc)
   f.open('file')
   data = f.read()
   response.write(data)

sometime later Zope writes a "memory error". I have divided the data in
little chunks too and make a lot of response.write calls, but the
problem persist...

How I can resolve this problem?... is very important...

Thanks...
-- 
Microsoft merges technologoies: 
Windows CE + Windows ME + Windows NT = Windows CEMENT

----
Antonio Beamud Montero
Agora Systems S.A.

http://www.agoratechnologies.com