Unfortunately during the process of trying to fix this, I uninstalled & re-installed BAS so everything is gone including those automatic backups.
Also, it's not a resource situation, I have tried to open the script on several machines, ranging from medium specs 6 core 32gb ram / SSD to 16 core 64gb ram 1TB SSD high end servers, its not based on resources.
Attached a sample script below that got corrupted.
ScrapeLinks.xml