

def call_gc():
    (gen0, gen1, gen2) = gc.get_count()
    logger.info('Calling GC {0} garbage, {1}, {2}, {3}'.format(len(gc.garbage), gen0, gen1, gen2))
    unreach = gc.collect()
    (gen0, gen1, gen2) = gc.get_count()
    print('Called GC {0} unreachable, {1} garbage, {2}, {3}, {4}'.format(unreach, len(gc.garbage), gen0, gen1, gen2))

dataset/ETHPy150Open bartdag/recodoc2/recodoc2/apps/docutil/commands_util.py call_gc/original