http://www.perlmonks.org?node_id=243610


in reply to Memory usage and perl

Whether or not memory is returned to OS depends on how your perl is compiled and is very platform-dependent.

Perl on WinCE (and on Win32 AFAIK) returns it to OS unless you compiled it with perl own memory allocator.

Courage, the Cowardly Dog