docstr: Return the current memory allocation state.
  
  Returns
  -------
  state : object
      Equality-comparable object representing the allocation state,
      for example the number of allocated or exported bytes.
docstr_tok: ["Return","the","current","memory","allocation","state",".","Returns","--","--","--","-","state",":","object","Equality-comparable","object","representing","the","allocation","state",",","for","example","the","number","of","allocated","or","exported","bytes","."]
code: def record_allocation_state(self) -> object:
      """
      Return the current memory allocation state.
  
      Returns
      -------
      state : object
          Equality-comparable object representing the allocation state,
          for example the number of allocated or exported bytes.
      """
      raise NotImplementedError
  
imports: from abc import ABC, abstractmethod
  import os
  import subprocess
  import typing
  from .util import log
label_desc: Use image node_id 4 for calling the CDataExporter obj's underlying member method code with example usage: obj.record_allocation_state() without return types