LWP::UserAgent memory usage while saving content

EDIT: The issue below was produced on stock Perl 5.16.3 on an AWS ec2 micro instance. It was ultimately solved by installing and switching to Perl 5.24.3 with perlbrew. LWP::UserAgent seems to be