Hi,
This might be a lateral idea or something and not a solution to the requirement .
The setting of the
$^M pre-defined variable which can be a setting for an emergency memory pooling of which more details are in
perldoc perlvar for details on this variable