Is there a way to get rid of an ExampleTable?

Pascal_Welke
Pascal_Welke New Altair Community Member
edited November 5 in Community Q&A
Hey there,

I am writing an operator for preprocessing which gets an ExampleSet as input and creates a new MemoryExampleTable wich will deliver data for output.
Is there a way to delete the no longer needed ExampleTable which provided the input?

Greetings.
Pascal

Answers

  • land
    land New Altair Community Member
    Hi Pascal,
    the memory example table will be deleted by the garbage collection as soon as no objects holds a reference on it. So if you don't remember it in your operator or resulting IOObjects, it will be deleted automatically.

    Greetings,
      Sebastian
  • Pascal_Welke
    Pascal_Welke New Altair Community Member
    Thank you for your fast reply. I know now what to do.
    Regards
    Pascal