openhands.runtime.utils.memory_monitor
Memory monitoring utilities for the runtime.
LogStream Objects
class LogStream()
Stream-like object that redirects writes to a logger.
MemoryMonitor Objects
class MemoryMonitor()
__init__
def __init__(enable: bool = False)
Memory monitor for the runtime.
start_monitoring
def start_monitoring()
Start monitoring memory usage.
stop_monitoring
def stop_monitoring()
Stop monitoring memory usage.