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


in reply to Not able to release memory

Not possible with standard ActiveState Perl under Windows. However Perl can be compiled from source to use custom malloc/dealloc/realloc functions, provided by the Windows operating system (you will probably need to write a wrapper for it), instead of using Perl's own. Which will almost certainly suffer in performance, but will be more memory friendly.