$coords['10160354001'] = ...
is an assignment to an array element, and a large one at that. This statement will cause Perl to allocate an array with room for at least 10160354002 elements.
You meant to use a hash:
$coords{$stat} = "@coords";
...
print $coords{'10160354001'};
use strict
and use warnings
would have alerted you to this and other problems with your code.