04-26-2013 12:58 AM - last edited on 04-27-2013 08:48 PM by maikoro
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
04-29-2013 04:30 AM - edited 04-29-2013 04:37 AM
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.
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 :)