in reply to XML::Complicated

I cooked up this small snippet, which causes XML::Simple to throw an Out of memory!

No, Perl stops with an out of memory error when you treat an arrayref as a hashref. The print Dumper($xml) line output clearly shows that if you turn on forcearray, you get arrays.