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

garbage collection on exit?

Thread Next
Armin Obersteiner
August 16, 2001 02:14
garbage collection on exit?
Message ID:

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?

	Armin Obersteiner
--                        pgp public key on request        CU

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About