Add better error reporting for MemoryErrors caused by str->float conversions.