Increased the memeory allocation but still no success.
I discovered that the Test DB had been corrupted - although MySQL table checks revealed no problems.
I think it happened when I was trying to concatenate field values in in rows in a table into one text field in a higher table. The loop seem to run out of control and I had to stop it using the Windows Task manager - pressing escape did not stop the Aware Process - it kept running.