Forcing Garbage Collection

Is there a way to force the garbage collection ?

3 Likes

Hi @goulpan and welcome to the forum.

If you enable the heap status (File --> Preferences, General, check Show heap status) you will see this little indicator in the bottom right of your KNIME AP:

2020-06-23 09_54_40-Window

You can click the garbage can to begin a manual garbage collection.

Within a workflow, there is also this node:

8 Likes

Great, thank you very much

Hi,
@ScottF already gave good solutions. If you do not want to install another extension (the Vernalis nodes), you can also hint at the system to run garbage collection by using System.gc(); in a Java Edit Variable node.
Kind regards,
Alexander

7 Likes

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.