Overview
| Artifact ID: | 59bfb3f3eea005fc7182ee244ccc5b5302e9becc |
|---|---|
| Ticket: | 516435ffffffffffffffffffffffffffffffffff
Memory problem in Tcl8.3.4? |
| User & Date: | nobody on 2002-02-12 14:36:43 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed 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 - foundin changed to: "obsolete: 8.3"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "41. Memory Allocation"
- title changed to: "Memory problem in Tcl8.3.4?"
- type changed to: "Bug"