Fix issue of TeamCity recognizing OOM in build log We had some tests outputting OOM message, which will be recognized by TeamCity as build failure - even though these tests pass, TeamCity mark the whole build as failed. This commit fixes the issue by text replacement.