def METHOD_NAME():
    before = howmany((MeshTopology, MeshGeometry))
    def foo():
        for i in range(10):
            m = UnitSquareMesh(1, 1)
            V = FunctionSpace(m, 'CG', 1)
            u = TrialFunction(V)
            v = TestFunction(V)
            f = Function(V)
            solve((i+1) * inner(u, v) * dx == conj(v)*dx, f)
    foo()
    gc.collect()
    gc.collect()
    gc.collect()
    after = howmany((MeshTopology, MeshGeometry))
    assert before >= after