class_docstr: Describe the name and the different resource components of a slot sharing group.
docstr: Gets the task managed memory for this SlotSharingGroup.
  
  :return: The task managed memory of the SlotSharingGroup.
docstr_tok: ["Gets","the","task","managed","memory","for","this","SlotSharingGroup",".",":","return",":","The","task","managed","memory","of","the","SlotSharingGroup","."]
code: def get_managed_memory(self) -> Optional[MemorySize]:
      """
      Gets the task managed memory for this SlotSharingGroup.
  
      :return: The task managed memory of the SlotSharingGroup.
      """
      managed_memory = self._j_slot_sharing_group.getManagedMemory()
      return (
          MemorySize(managed_memory.get())
          if managed_memory.isPresent()
          else None
      )
  
imports: from typing import Optional
  from pyflink.java_gateway import get_gateway
label_desc: Use image node_id 3 for calling the SlotSharingGroup obj's underlying member method code with example usage: obj.get_managed_memory() and returns: unknown