Overview
| Artifact ID: | 2b4950c84e8e9975e91654d953b51b02b9826907 |
|---|---|
| Ticket: | 994838ffffffffffffffffffffffffffffffffff
memory leak in interpreter creation/deletion loop |
| User & Date: | kennykb on 2004-07-20 21:45:45 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
Running the loop while 1 { interp create i interp delete i } results in process memory growing endlessly. Miguel Sofer and I have been discussing the bug at length in email and the Tcl'ers Chat and have reached the conclusion that the problem arises when a proc's bytecode representation lives until the interp is deleted (generally, because some shared literal has an internal representation of tclLocalVarType that designates a variable in the proc). I now suspect that the problem is ameliorated if internal representations of global literals are destroyed earlier in the process of taking down an interp. I'm developing a patch to test this hypothesis. - foundin changed to: "obsolete: 8.5a2"
- priority changed to: "7 High"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "kennykb"
- subsystem changed to: "47. Bytecode Compiler"
- title changed to: "memory leak in interpreter creation/deletion loop"
- type changed to: "Bug"