[NEXUS-6824] set min/max heap sizes