Does Win32::GUI give memory back to the OS (WinNT)? I know this has been an
on and off topic for Perl in general. And the answer is usually, no, Perl
does not give memory back.

Try this experiment: open any GUI script (seems to be true for any, at least
on WinNT 4.0). While it is open, open Windows TaskManager and goto Processes
tab. Identify the perl process. Note the Mem Usage. Leave TaskManager open
and minimize the perl gui window. Note the Mem Usage. Then restore the perl
gui window to its original size. Note the Mem Usage.

On my system, it would appear that minimizing and restoring the window
reduces the amount of memory the gui script uses (by quite a bit!). Is this
true or is it some slight-of-hand?

Reply via email to