Service Manager / Service Center Practitioners Forum

Hp Service Manager (java.lang.OutOfMemoryError: unable to create new native thread)

Super Contributor.

Hp Service Manager (java.lang.OutOfMemoryError: unable to create new native thread)

Hi Experts,


In production I’m getting an Java error (java.lang.OutOfMemoryError: unable to create new native thread) due that my production got down yesterday. All required details are attaching below.


OS: windows 2008 64bit

Total physical memory. 8GB

Application Insttaled drive: D

Virtual memory screen shot attached.

SM.ini file details attached.


So pls suggest on this.



P.S. This thread has been moved from HP Service Desk Support and News Forum to HP Service Manager / Service Center Support and News Forum - HP Forums Moderator

Outstanding Contributor.

Re: Hp Service Manager (java.lang.OutOfMemoryError: unable to create new native thread)



The errors from your log file 'java.lang.OutOfMemoryError: unable to create new native thread' Is caused by a memory leak

Workaround / Fix

The leak will equal the size of the strings specified on the parameters(ldapbindpass and ldapbinddn in the sc.ini/sm.ini file).
A process (PID) contains native memory, shared memory, jvm memory etc.,

 The max a 32 bit process can address is 4 gig, which 2 gig is taken up by the OS. By allocating more shared memory it will take away from native memory, It is recommended to lower shared memory. And this may lead the server to be low on memory.

You can check it also here:

I hope this is helpful.


Best regards



HP Support
If you find that this or any post resolved your issue, please be sure
to mark it as an accepted solution.
Please also give kudo if you find it interesting :)