Fix desc memory calculation in stats