fallback for when Expat runs out of memory