increase shard, set memory limit