Frozen Perl 2009: Memory management with Perl

gizmo_mathboy on 2009-02-10T03:59:41

Memory management with Perl‎

Steven Lembark

Your friendly introduction to a wastrel

Read the guts documents

Perl only grows, it doesn't free memory until it ends

can easily fragment the heap

Devel::Peek/Size

NUL vs NULL very different

prune vars before assigning them

arrays suck a lot

hashed suck more

So there is lots of infrastructure for arrays and hashes

hashes grow in 2D over time

sort of wandering into Debunking Perl Myths (same speaker) but we mostly talked about memory management but that was ok. We had a good discussion.