Changes between Initial Version and Version 1 of Ticket #16022, comment 11


Ignore:
Timestamp:
Apr 13, 2022, 2:57:44 AM (3 years ago)
Author:
Carlton Gibson

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16022, comment 11

    initial v1  
    4040}}}
    4141
    42 If you then though `import gc` and force the garbage collector to run, you'll see that the memory use remains steady:
     42If you then though `import gc` and force the garbage collector to run...
     43
     44
     45
     46{{{
     47        for i in range(100):
     48            print(process.memory_full_info().rss / 1024 ** 2)
     49            new = Leak.objects.get(id=leak.id)
     50            extra = {"f": new.f}
     51            gc.collect()
     52}}}
     53
     54
     55
     56... you'll see that the memory use remains steady:
    4357
    4458
Back to Top