Execute failed: Java heap space

Hi Team,

On Knime Server 4.8 (executor) I am getting the error " Execute failed: Java heap space" when running a Python Script node.

There is our knime.ini file:
-startup
plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
–launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.551.v20171108-1834
-vm
plugins/org.knime.binary.jre.linux.x86_64_1.8.0.152-01/jre/bin
-vmargs
-server
-Dsun.java2d.d3d=false
-Dosgi.classloader.lock=classname
-XX:+UnlockDiagnosticVMOptions
-XX:+UnsyncloadClass
-Dsun.net.client.defaultReadTimeout=0
-XX:CompileCommand=exclude,javax/swing/text/GlyphView,getBreakSpot
-Xmx2048m
-Dorg.eclipse.swt.internal.gtk.disablePrinting

And system parameters:
Server OS : RHEL 7.6
Server Type : Pysique 16cpu 376Go RAM

Can someone please suggest some method to avoid it? Knowing we have 50 WebPortal users, what is the highest parameter for the -Xmx we can upgrade?

Regards,

Wagner

Hi Wagner,
You write “376Go RAM”. If you mean 376Gb (which would be wow!), your 2048m is way too low. Depending on what else is running on the machine you can probably assign at least 350Gb to the KNIME executor.
Kind regards,
Alexander