Setting max heap size for dexing.