Leaking memory when spawning [message #13870] |
Mon, 14 December 1998 00:00 |
Joe Means
Messages: 44 Registered: November 1996
|
Member |
|
|
I have an IDL routine that repetively spawns a DOS program in a WinNT Dos
window. I see in the task manager that each of these WinNT DOS sessions takes
up 200K of "Mem Usage" and 2636K of "VM Size". Immediately after the spawned
program completes the command shell window closes.
After each iteration, however, each of these sessions is still listed as a
process named NTVDM.EXE in the Task Manager. Eventually I run out of virtual
memory, and the program crashes. How can I get each of these spawned
commands
to release all its memory when it is done?
Cheers,
joe
--
From:
Joseph E. Means, Assistant Professor Forest Science Department
Internet: Means@fsl.orst.edu Oregon State University
Phone 541-750-7351 Fax 541-750-7329 Corvallis, OR 97331 U.S.A.
http://www.fsl.orst.edu/rogues/meansj/meansnew.htm
|
|
|