But when I run this on my Linux (Fedora 8) system with perl-5.8.8 I see that perl is still using > 100Mb of ram while sitting on the final sleep... Why hasn't it been released? Thanks! Anthony#!/usr/bin/perl use strict; use warnings; my $buf = "A" x (1024 * 1024 * 100); print "Allocated " . length($buf) . " byte buffer\n"; print "Deleting buffer\n"; undef $buf; print "Finished\n"; sleep(1000);
In reply to perl memory usage by awesley
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |