develooper Front page | perl.perl5.porters | Postings from August 2001

garbage collection on exit?

Thread Next
From:
Armin Obersteiner
Date:
August 16, 2001 02:14
Subject:
garbage collection on exit?
Message ID:
20010816110548.A31149@fsmat.htu.tuwien.ac.at
hi!

in short: i hab a 600M hash-of-arrays-of-hashes. 500M pysically.
i fill up the hash: 80 seconds, i calculate something: 10 seconds,
then: exit. the whole procedure takes 15 minutes more. (perl 5.6, no modules used
execpt strict)

after i filled in some print statements, i now know where it happens:
at the exit.

with a 'system "kill -9 $$"' as last line the program just takes 90 seconds. 
(as expected)

is there some garbage collection taking place? it seems unnecessary at the end,
doesn't it?

MfG,
	Armin Obersteiner
--
armin@xos.net                        pgp public key on request        CU

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About