class_docstr: The api info service
class_docstr_tok: ["The","api","info","service"]
docstr: Fetch the api process memory usage
docstr_tok: ["Fetch","the","api","process","memory","usage"]
code: def _api_memory_info() -> Dict[str, Any]:
      """Fetch the api process memory usage"""
      process = psutil.Process(os.getpid())
      return {
          k: size(v) for k, v in process.memory_info()._asdict().items()
      }
  
file_path: argilla/src/argilla/server/services/info.py
imports: import os
  from typing import Any, Dict
  import psutil
  from fastapi import Depends
  from argilla import __version__
  from argilla.server.daos.backend import GenericElasticEngineBackend
  from argilla.server.pydantic_v1 import BaseModel
label_desc: Use image node_id 5 for calling the ApiInfoService obj's underlying member method code with example usage: obj._api_memory_info() and returns: unknown