Nothing, just restart. Bad alloc means TPT ran out of memory. This usually happens when it hits 2GB of ram (the limit for 32 bit applications). TPT should never use anywhere near this amount of RAM unless you edited powder.pref to increase the undo limit to a high number.