def METHOD_NAME(network):
    mem = {}
    for node in network.get_joined_nodes():
        try:
            with node.client() as c:
                r = c.get("/node/memory", timeout=0.1)
                mem[node.local_node_id] = r.body.json()
        except Exception:
            pass
    return mem