Memory Search

Library for Memory Trace Statistics in Python

The library uses tracemalloc as a core module, which is why it is only available for Python 3.4+


  • ? Graphical interface for better visualization of RAM trace statistics

  • ? View the line of code that consumes the most memory

  • [coming soon] Compare memory usage between two functions


installation command with pip

Hello World

from memorysearch import MemorySearch

memory_search = MemorySearch(monitor="web", hostname="localhost", port=3000)

def myfunction(number: int):
    list_items = [i for i in range(number)]
    print(list_items), 100)


View Github