prevent OutOfMemoryError when logging an error (fixed awhile ago in the next versions)