[Python-bugs-list] [Bug #110674] memory bloat in binary file upload (PR#381)

noreply@sourceforge.net noreply@sourceforge.net
Wed, 23 Aug 2000 07:26:50 -0700

Bug #110674, was updated on 2000-Jul-31 21:13
Here is a current snapshot of the bug.

Project: Python
Category: None
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Summary: memory bloat in binary file upload (PR#381)

Details: Jitterbug-Id: 381
Submitted-By: naris@ensim.com
Date: Mon,  3 Jul 2000 21:29:25 -0400 (EDT)
Version: 1.5.2
OS: RedHat 6.1

read_lines_to_outerboundary chews up memory.
there's a while (1) loop that does a readline(), which
is probably not good, as you could have a binary file that
doesn't have an endline til the end, and thus readline would
read the entire file into memory.  i did the following:
dd'd a 100MB /dev/zero file and used zope to upload it.
it chewed up a large amount of memory.

there seems to be bug reports about text files and windows
systems (and needing to use python -u), but this problem
is unrelated.  i am using a unix browser -> unix web server.

Audit trail:
Tue Jul 11 08:24:22 2000	guido	moved from incoming to open

For detailed info, follow this link: