This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author bacchusrx
Date 2005-01-01.23:01:05
SpamBayes Score
Marked as misclassified
Logged In: YES 

I've been able to replicate the problem reliably on both 10.3.5 and 
10.3.7. I've attached two more examples to demonstrate:

Try this: Do, "dd if=/dev/zero of=./data bs=1024 count=10240" and save wherever you put "data". Have three terminals open. In one, 
run "perl -s0.25". In another, run "top -ovsize" and in the third 
run "python". 

After about 100 iterations, python's vsize is +1GB (just about the value 
of cumulative_req in and if left running will cause a 
malloc error at around 360 iterations with a vsize over 3.6GB (again, just 
about what cumulative_req reports). Mind you, we've only received 
~512kbytes. differs from the netcat method in that it (defaults) to sending 
only 1492 bytes at a time (configurable with the -b switch) and sleeps for 
however many seconds specified with the -s switch. This guarantees 
enough iterations to raise the error each time around. When omittting 
the -s switch to, I don't get the error, but throughput is good 
enough that the loop in readFromSockUntil() only runs a few times.
Date User Action Args
2007-08-23 14:28:47adminlinkissue1092502 messages
2007-08-23 14:28:47admincreate