Can not startup TomEE in KNIME Server

I have installed KNIME Server on my server, web server can not start up, the following is error message in the log file.

I want to know, where can I modify the memory size?


Exception in thread “main” java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(
at org.apache.tomee.catalina.Warmup.(
at org.apache.tomee.catalina.TomcatLoader.initialize(
at org.apache.tomee.catalina.ServerListener.lifecycleEvent(
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(
at org.apache.catalina.util.LifecycleBase.setStateInternal(
at org.apache.catalina.util.LifecycleBase.init(
at org.apache.catalina.startup.Catalina.load(
at org.apache.catalina.startup.Catalina.load(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at org.apache.catalina.startup.Bootstrap.load(
at org.apache.catalina.startup.Bootstrap.main(


By default the KNIME Server Tomcat application requires 2Gb RAM. How much do you have available on your system? You can find that in the Task manager in Windows, or by running free -h under Linux.

Thanks for your reply.

My OS is Centos, free memory is more than 2G.
I check the, and have below line
export CATALINA_OPTS="-Xmx2048M -server"
I update the size, but can not startup tomee.

The error message means that the java process cannot allocate more memory from the OS so either your system is low on memory or you are accidentally using a 32bit java installation. You can check this by calling java -version.