I've received the following error when making a post to TeamCity API to create a build feature (nunit) on a build configuration.
"java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Unknown Source)
Currently on Diagnostics page, I get the following information which seem fine.
This error (unable to create new native thread) does not seem to be related to the REST API call, it probably occurs on other events and shhhould be visible itn he teamcoty-server.log
What -Xmx setting do you use for the TeamCity server JVM?
Pleae consider moving to 64 bit JVM for the server.