Artifacts Associated With Ticket 219356
Ticket change [8bb37342b5] (rid 127613) by nobody on 2000-10-26 05:11:19:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 5848 Bug Version: 8.2.2 SubmitDate: '2000-06-07' LastModified: '2000-10-25' Severity: SER Status: UnAssn Submitter: techsupp OS: Windows NT OSVersion: Windows NT 4.0 Machine: 300 MHz Pentium II FixedDate: '2000-10-25' ClosedDate: '2000-10-25' Name: Byron Biggs Extensions: no extensions CustomShell: none ReproducibleScript: If you source the following script from the tclsh82 prompt (or the wish82 prompt) you see the memory usage by tclsh82 grow significantly if you monitor VM Size in the Windows NT task manager. If you loop about 1000 times, the process will eventually hang: for {set i 0} {$i < 500} {incr i} { exec perl -e \$x=1 } If you change the exec line to: exec perl -e \$x=1 >nul there is no leak. Redirection of stdout either to a file or to nul prevents the leak. For this particular test, I was running perl version 5.004.04 for win32. However, there doesn't seem to be anything special about perl. I was also able to reproduce the problem running a simple "echo.exe" program. It may occur with any console application. ObservedBehavior: Significant memory usage increase, and (eventually) complete lockup. - foundin initialized to: "obsolete: 8.2.2"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to: "Memory leak execing perl from tclsh82, wish82"
- type initialized to: "Bug"
Ticket change [860c97941d] (rid 131440) by dkf on 2000-11-19 18:37:23:
- subsystem changed to: "60. NRE and coroutines"
Ticket change [680937384f] (rid 102997) by hobbs on 2000-11-21 01:38:06:
- closedate changed to: "2000-11-20T18:38:06"
- closer changed to: "hobbs"
- icomment:
This has nothing to do with exec'ing Perl in particular, but rather exec in general, and specifically it is (was) due to OS level leaks in how threads are handled. This was massaged in 8.4a2 to no longer leak (by Gravereaux).
- login: "hobbs"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "hobbs"
Ticket change [d57befeff5] (rid 123633) by dgp on 2001-04-05 08:20:11:
- closedate changed to: "2001-04-05T01:20:11"
- closer changed to: "dgp"
- subsystem changed to: "27. Channel Types"