protect importers against excessive heap usage