fix unused memory tracker warning is disable-memory