Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 479b5aae7eeead9a51c4fbdeb3af3caddcc82214
Ticket: 2936225fffffffffffffffffffffffffffffffff
[chan copy] overruns slow receiver
User & Date: coldstore on 2010-01-21 11:44:31
Changes

  1. assignee changed to: "andreas_kupries"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    If (for example) a file is fed to a socket using [chan copy], where input from the file is always available and output is only sometimes available, [chan copy] seems to buffer input in memory without regard for the disparity between input and output.
    
    The effect of this is that, for a very large file, all memory can be consumed in buffered content, and tcl can fail on memory allocation.
    
    Perhaps [chan copy] should have regard to the output file's buffer, and not seek to fill more than that buffer specifies.  This won't solve the memory exhaustion problem, but might be a sound way to indicate expected performance of the output chan.
    
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "coldstore"
  10. subsystem changed to: "24. Channel Commands"
  11. title changed to: "[chan copy] overruns slow receiver"
  12. type changed to: "Bug"