Get peak memory usage from GlobalMemoryManager

@d2grenier @Stelminator