When processing large data sets, KNIME seems to be running out of memory. What can I do?
By default KNIME uses a maximum of 1024 MB of heap space for the Java Virtual Machine (JVM). When processing very large data sets this amount might not be sufficient, and you may see messages similar to the following: java.lang.OutOfMemoryError: Java heap space FATAL Fatal error FATAL Java heap space You can change the settings by editing the file: $SCHRODINGER/knime-vversion/bin/arch/knime/.knime.ini where arch is Linux-x86 or Linux-x86_64; note the dot in front of the file name. The file should contain the following settings: -clean -vmargs -Xmx1024M -XX:MaxPermSize=128m In order to increase the amount of heap memory you should change the -Xmx setting. For example, to allocate 2048 MB of heap space to the JVM you should change -Xmx1024M to -Xmx2048M.