expose runtime memory stats