add support for setting xz memlimit