def METHOD_NAME():
    """Sample RSS memory usage.
    Statistics can then be output by calling :func:`memdump`.
    """
    current_rss = mem_rss()
    _mem_sample.append(current_rss)
    return current_rss