AMBARI-6061. OutOfMemoryError during host checks on 2k nodes cluster (dlysnichenko)