Skip to Content
0
Former Member
Aug 23, 2011 at 08:15 AM

java.lang.OutOfMemoryError: unable to create new native thread

90 Views

Hi All,

We have installed PI 7.1 EHP1 PRD system on AIX 6.1 and DB2 LUW 9.1. Now the issue is that java engine is not starting with the following error :

OS: [258] 10:53:35 ***Warning: pthread_create failed (11, Resource temporarily unavailable)

ERROR: Server process failed to start due to:

java.lang.OutOfMemoryError: unable to create new native thread

at java.lang.Thread.start0(Native Method)

at java.lang.Thread.start(Thread.java:704)

at com.sap.engine.core.thread.impl5.ThreadManagerImpl.init(ThreadManagerImpl.java:304)

at com.sap.engine.core.Framework.loadSingleManager(Framework.java:630)

at com.sap.engine.core.Framework.loadManagers(Framework.java:394)

at com.sap.engine.core.Framework.start(Framework.java:329)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at com.sap.engine.boot.FrameThread.startFramework(FrameThread.java:155)

at com.sap.engine.boot.FrameThread.run(FrameThread.java:179)

at com.sap.engine.boot.StartFrame.work(StartFrame.java:93)

at com.sap.engine.boot.Start.main(Start.java:35)

The current parameter values are :

userprocesses 1024

Heap&Max.Heap 2048

Permsize&MaxPermsize 1024

Newsize&MaxNewsize 512

I have tried by reducing the values of heap,permsize but to no avail. I still get the same error. What more should i try?? Any ideas?? Should i increase the user processes??

Note: This is PRD system and needs to be up immediately.

Thanks in Advance.