Memory statistical error in the OutOfMemoryError