memory_profiler: How to Profile Memory Usage in Python?
Please make a note that memory_profiler generates memory consumption by querying underlying operating system kernel which is bit different from python interpreter. It uses psutil module for retrieving memory allocated by a current process running code. Apart from that, based on python garbage collection, results might be different on different platforms …
New Energy Sources WhatsApp