build memtrack