HHH-8127 OutOfMemoryError when running tests