from memory_profiler import profile


@profile
def foo():
    a = [1] * (10 ** 6)
    b = [2] * (2 * 10 ** 7)
    # add dome lines here and push it to your branch
    #
    del b
    return a

if __name__ == '__main__':
    foo()

from memory_profiler import profile


@profile
def foo():
    a = [1] * (10 ** 6)
    b = [2] * (2 * 10 ** 7)
    # add dome lines here and push it to your branch
    # test
    del b
    return a

if __name__ == '__main__':
    foo()

move back to normal