1 Replies Last post: Nov 12, 2013 9:55 PM by Yegor Yarko  
Simon Hurley Newbie 10 posts since
Mar 19, 2009
Currently Being Moderated

Nov 11, 2013 6:33 PM

OutOfMemory when creating nunit build feature through API

Hi,

 

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)

at com.sun.jndi.ldap.Connection."

 

Currently on Diagnostics page, I get the following information which seem fine.

 

Data: 656.94 MB (61.6% of maximum available memory: 1.04 GB)
Classes: 114.18 MB (42.3% of maximum available memory: 270.00 MB)
The memory dump is in the .uploads jetbrains ftp folder called "memoryDump-2013-11-11_12.49.50.hprof.gz".
we have 2796 active projects with 2907 build configurations, 7 permenent build agents and 10 cloud agents.
Any help greatly appreciated!
Yegor Yarko JetBrains 1,837 posts since
May 5, 2004
Currently Being Moderated
Nov 12, 2013 9:55 PM in response to: Simon Hurley
Re: OutOfMemory when creating nunit build feature through API

Hi SImon,

 

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.

More Like This

  • Retrieving data ...