more explicit declaration of MemStats type