minor fix for memoryusage function on cray XE6