Limit log size in test.
Libstdc++ problems on linux.

It seems that std::vector in libstdc++ uses new[] with regular delete.