Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 37a3a94b1b9ad191e08ce2ddf430e6fb7380e3d7
Ticket: 2960042fffffffffffffffffffffffffffffffff
high water mark memory not shared for file I/O needs
User & Date: blacksqr on 2010-03-01 12:19:25
Changes

  1. icomment:
    My previous understanding of my problem was inadequate, my apologies.  I have uploaded demo code which crashes my interpreter which, I hope, illustrates the problem more clearly.  The issue seems to be that when the Tcl interpreter keeps a claim on some memory used for a completed procedure as "high water mark" memory, that memory is not released or shared when it is needed for a large file I/O job.  Thus the interpreter crashes with a memory allocation error when it seems that there should be more than enough momory under Tcl's control to complete the job.
    
    Additional comments are in the uploaded file.  It may be necessary to tweak some of the numbers in the script depending on the RAM available on the test machine.  I reported my computer's RAM and usage levels in the file.
    
    
  2. login: "blacksqr"
  3. mimetype: "text/plain"
  4. username: "blacksqr"