MCPcopy Create free account
hub / github.com/bhowiebkr/PyFlowGraph / get_memory_usage

Method get_memory_usage

src/commands/command_history.py:229–231  ·  view source on GitHub ↗

Get current memory usage in bytes.

(self)

Source from the content-addressed store, hash-verified

227 self._memory_usage = 0
228
229 def get_memory_usage(self) -> int:
230 """Get current memory usage in bytes."""
231 return self._memory_usage
232
233 def get_memory_limit(self) -> int:
234 """Get memory limit in bytes."""

Callers 4

execute_commandMethod · 0.45
_enforce_limitsMethod · 0.45

Calls

no outgoing calls