Merge "Rate limit calls to AM.getMyMemoryState()." into main