In the KNIME installation directory there is a file called knime.ini (under linux it might be .knime.ini ). Open the file, find the entry -Xmx512m and change it to -Xmx1024m for example. You may also consider to change the -XX:MaxPermSize=128m option and increase it to 256m or even 512m , depending on your computer’s main memory. Note, that you main memory must be at the very least the sum of both values. (See also the answer for rarely observed problems while increasing heap space under Windows). If you use the developer version you have to edit the run configuration: "Run -> “Open Run Dialog…” -> tab “Arguments” -> field VM arguments -> enter -Xmx1024M.
However, I do not have an entry in the Knime.ini file that begins with Xmx or an entry with XX:MaxPermSize. Here is what I see in the Knime.ini file:
I can see it - you have a value of -Xmx25000m, which should be plenty. I’d assumed that memory might be the issue because of the java heap space error, but maybe it’s not.
I see in your screenshot that some specific extensions are popping up in the error message. Perhaps it is the Chinese text processing extension that is giving you trouble? If that’s not it, I may need to pull in help from another KNIMEr to diagnose the problem.
Weird. Can you confirm that the memory setting is seen by KNIME? E.g. go to File -> Preferences -> General -> Click “Show heap status” and hover over the little memory bar that you find at the bottom right of the application. Does it show in its tooltip some number close to 25G?
If that’s not the problem, then I suggest restarting with “-clean” added to the knime.ini (above “-vmargs”). If that doesn’t help, then I would make note of the registered update sites and remove them, confirm the removal (that part is important), then add them again and try again. If that doesn’t help either, then I would re-install and accept that something is broken with your installation.
Alternatively. you can try these options also in a different order.
It doesn’t receive the -Xmx25000M then. Is it the wrong knime.ini file? You can find a (slightly modified) copy of all the parameters in help -> about knime -> configuration. Do you find the values in there?
You could double check that by adding some custom property to the end of the knime.ini file and then restart, e.g. -Dfoo=bar should be somewhere in that text.
So sorry to be difficult, but I don’t find a configuration tab or link under the help tab -> about KNIME. I did however find in my KNIME folder a configuration folder and when I click on config.ini I see this text file:
#This configuration file was written by: org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxFwConfigFileParser #Thu Dec 06 17:11:00 EST 2018
org.eclipse.update.reconcile=false
eclipse.p2.profile=KNIMEProfile
osgi.instance.area.default=@user.home/knime-workspace
osgi.framework=file:plugins/org.eclipse.osgi_3.12.100.v20180210-1608.jar
equinox.use.ds=true
ds.delayed.keepInstances=true
osgi.bundles=reference:file:org.eclipse.equinox.simpleconfigurator_1.2.1.v20180131-1435.jar@1:start
org.eclipse.equinox.simpleconfigurator.configUrl=file:org.eclipse.equinox.simpleconfigurator/bundles.info
eclipse.product=org.knime.product.KNIME_PRODUCT
osgi.splashPath=platform:/base/plugins/org.knime.product
osgi.framework.extensions=reference:file:javax.transaction_1.1.1.v201105210645.jar,reference:file:org.eclipse.osgi.compatibility.state_1.1.0.v20170516-1513.jar
osgi.bundles.defaultStartLevel=4
eclipse.p2.data.area=@config.dir/…/p2/
eclipse.application=org.knime.product.KNIME_APPLICATION
Can you go on “File → Preferences”, select “Install/Update” → “Available Software Sites” and only select the “KNIME Analytics Platform 3.7 Update Site” and “Community Contributions (Trusted)”?
I restored the previous settings successfully and have never downloaded the Chinese text processing extension. I’m still having problems downloading additional nodes, but I feel I probably have the better majority that I would need anyway. I just thought I’d try to download additional ones with the hope of being able to find additional utility, but for now it seems OK.