in reply to memory blowing up when returning from a subroutine

Methinx further details might prove useful.

Other than that, how big is the file from which I infer the %datFile is loaded ?

A user level that continues to overstate my experience :-))