comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Leaking memory when spawning

Leaking memory when spawning
type: item
description: 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
creator: Joe Means
date: 1998-12-14T08:00:00-00:00