Fixed getMemUsage