comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Leaking memory when spawning
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Leaking memory when spawning [message #13870] Mon, 14 December 1998 00:00
Joe Means is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: re-initializing program variables
Next Topic: re-initializing program variables

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 14:45:24 PDT 2025

Total time taken to generate the page: 0.63930 seconds