1 of 3

System logging for: “unable to create new native thread” by JVM

OutOfMemoryException by whatever JVM service is a popular error message. What strives me is the fact it does not get logged somewhere in the system. Also the JVM does not report the underlying reason. Mostly the application hosted is bad by design and needs fixing. However in my special case the problem arose as migrating from 32 to a 64 bit environment. The application was simply the same and the error did not occur in the 32 environment. There are numbers of reasons which limits might be hit. The web is full of explanations like file limits, process limits, stack sizes and so on. There are multiple borders which might be hit.

In my case it is a openSuse 42.3 running a 4.4.x 64 bit kernel with systemd event logging. In journalctl there is nothing reported nor it is in any other logfile in /var/log nor in dmesg.

Do you know how to activate logging of such an event?