ROO-3264 toString method can throw OutOfMemory