Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

Affected version(s): all


One of the Open-Xchange services is not starting or causing problems. In the logs you see OOM messages like (but not limited to):

Code Block
java.lang.OutOfMemoryError: unable to create new native thread

Root Cause

Wrong It is possible that there is a wrong allocation of memory to the Open-Xchange process or overall not enough memory overall.


System memory

Check first if the node has enough memory assigned, use using system tools like top or free. Have also Also, have a look if other processes are claiming too much memory.

Process memory

The main memory configuration of the Open-Xchange middleware can be found inhere:

Code Block

JAVA_OPTS_MEM="-XX:MaxHeapSize=2048M ...

If you kept updating the system it might be still called Xmx or is not in JAVA_OPTS_MEM.  2048M is just an example for a test system and isn't enough for a real live system. After a change you need to restart the open-xchange service.



get confused

confuse the above with:


This is only for the command line tools. Nevertheless, on larger installations when you run out of memory (directly visible on the command line) when calling one of the tools, you need to change this value too.

Systemd memory limits

Check also Also check the memory restrictions of for systemd

Code Block
systemctl daemon-reloadsystemctl show open-xchange | grep LimitAS

If not limited it should this is unlimited, it will show "infinity".

You can change the limits in:

Code Block

Just add:

Code Block
LimitAS=<limit in bytes>
LimitASSoft=<limit in bytes>

After a change you need to reload the systemd daemon:

Code Block
systemctl daemon-reload

And restart the open-xchange process. Documentation about the possible parameters can be found in the man pages of systemd:

Code Block
man systemd.exec
This is a DRAFT. Remove this warning box before making article public.Until then, ensure that permissions are View and Edit Restricted by clicking the lock above.

Related articles

Content by Label
cqllabel = "kb-troubleshooting-article" and type = "page" and space = "SKB"

Page properties

Related issues