Skip to content
Tcl Source Code History Of Ticket 516435ffffffffff
Login

History Of Ticket 516435ffffffffff

Artifacts Associated With Ticket 516435ffffffffff

  1. Ticket change [59bfb3f3ee] (rid 118021) by nobody on 2002-02-12 14:36:43:

    1. assignee initialized to: "hobbs"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      If I compile and run the following program on a 2.4
      linux machine (gcc 2.95.3) with tcl8.3.4 which I have
      compiled from source, the amount of memory used
      increases very rapidly:
      
      #include <stdio.h>
      #include <stdlib.h>
      #include <tcl.h>
      
      int main() {
        Tcl_Interp *interp;
        int i;
        char task[] = "for {set i 0} {$i < 100} {incr i} {set
      a($i) $i}";
      
        for(i = 0; i < 100000; i++) {
          interp = Tcl_CreateInterp();
          Tcl_Init(interp);
          Tcl_Eval(interp, task);
          Tcl_Finalize();
          Tcl_DeleteInterp(interp);
        }
      
        return 0;
      }
       
      
      I hope that this is a satisfactory report,
      
      regards,
      
      Graeme
      
    4. foundin initialized to: "obsolete: 8.3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "41. Memory Allocation"
    10. title initialized to: "Memory problem in Tcl8.3.4?"
    11. type initialized to: "Bug"
  2. Ticket change [0a22798305] (rid 113763) by hobbs on 2002-02-13 02:44:48:

    1. closedate changed to: "2002-02-12T19:44:48"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      
      Please see the newsgroup comments that note that this is 
      not a correct program.  If the corrected version still 
      exhibits problems, please tell us about how much each 
      instance seems to leak.
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. status changed to: "Pending"
    7. username: "hobbs"
  3. Ticket change [9e2fbf2dc7] (rid 96436) by msofer on 2002-02-13 02:58:17:

    1. assignee changed to: "msofer"
    2. closedate changed to: "2002-02-12T19:58:17"
    3. closer changed to: "msofer"
    4. icomment:
      Logged In: YES 
      user_id=148712
      
      I'm closing this ticket: Graeme Winter (author of the bug
      report) informed me that the leak is gone if Tcl_Finalize is
      called after deleting the interpreter.
      
      
    5. login: "msofer"
    6. mimetype: "text/plain"
    7. resolution changed to: "Invalid"
    8. status changed to: "Closed"
    9. username: "msofer"