Java heap space

Why did I get this error in the log?

ERROR : KNIME-Worker-88 : : Node : Document Viewer : 0:87 : Execute failed: Java heap space
java.lang.OutOfMemoryError: Java heap space

Dear Ahmed,
Could you please share more details of your workflow?

It is a text analysis workflow; frequencies and vectoring.

Dear ahmed,
follow this comment:

  1. In the KNIME installation directory there is a file called knime.ini (under Linux it might be .knime.ini; for MacOS : right click on, select “Show package contents”, go to “/Contents/Eclipse/” and you should find a Knime.ini). Open the file,
  2. Find the entry -Xmx1024m and change it to -Xmx4g or higher (for example).
  3. (Re)start KNIME.

Thanks. I had do it and waiting for the result.

Is there a way to know the estimated required Java heap space to complete the workflow?

Dear @ahmed_gomaa,
Baesed on my experience increase the heap size lead to solve this error. I could not find soultion to find estimated heap size, but it is commen in laptop.


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