use longs in memory tracking