how can I resolve this issue "java.lang.OutOfMemoryError: unable to create new native thread"?
davidhai18 Nov 13, 2013 12:14 AM[11-13 09:24:49,552] WARN [pool-6-thread-20] BaseDirectHandler.run(83) | Fail to handle the destination[/var/opt/OC/ccps/cdr/archive/VXML-CDR/airtel_cdr/airtel_rad/Orissa/20131113/misccps02-20131113092209-108-000.zip], will retry it in next schedule period
[11-13 09:24:49,376] WARN [pool-6-thread-2] FileSoftLinker.makeSoftLink(116) | Can't create the soft link file for [/var/opt/OC/ccps/cdr/archive/VXML-CDR/comviva_cdr/comviva_svms/punjab/20131113/misccps02-20131113092209-049-000.zip] to the path[/var/opt/OC/ccps/cdr/download/VXML-CDR/comviva_cdr/comviva_svms/punjab/20131113/misccps02-20131113092209-049-000.zip]
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:574)
at java.lang.UNIXProcess$1.run(UNIXProcess.java:141)
at java.security.AccessController.doPrivileged(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:103)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
at java.lang.Runtime.exec(Runtime.java:591)
at java.lang.Runtime.exec(Runtime.java:429)
at java.lang.Runtime.exec(Runtime.java:326)
at com.hp.opencall.ccps.css.handler.FileSoftLinker.makeSoftLink(FileSoftLinker.java:111)
at com.hp.opencall.ccps.css.handler.FileSoftLinker.handleResultDestination(FileSoftLinker.java:59)
at com.hp.opencall.ccps.css.handler.BaseDirectHandler$1.run(BaseDirectHandler.java:78)
at com.hp.opencall.ccps.css.core.ThreadPoolCompletionExecutor$TaskWrapper.run(ThreadPoolCompletionExecutor.java:109)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
[11-13 09:24:49,553] WARN [pool-6-thread-2] FileSoftLinker.handleResultDestination(65) | Cann't make softlink for this archive, it will be tried to be archived next time
[11-13 09:24:49,554] WARN [pool-6-thread-2] BaseDirectHandler.run(83) | Fail to handle the destination[/var/opt/OC/ccps/cdr/archive/VXML-CDR/comviva_cdr/comviva_svms/punjab/20131113/misccps02-20131113092209-049-000.zip], will retry it in next schedule period
[11-13 09:24:49,367] WARN [pool-6-thread-12] FileSoftLinker.makeSoftLink(116) | Can't create the soft link file for [/var/opt/OC/ccps/cdr/archive/VXML-CDR/altruist_cdr/ATPL_AFC/mp/20131113/misccps02-20131113092209-091-000.zip] to the path[/var/opt/OC/ccps/cdr/download/VXML-CDR/altruist_cdr/ATPL_AFC/mp/20131113/misccps02-20131113092209-091-000.zip]
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:574)
at java.lang.UNIXProcess$1.run(UNIXProcess.java:141)
at java.security.AccessController.doPrivileged(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:103)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
at java.lang.Runtime.exec(Runtime.java:591)
at java.lang.Runtime.exec(Runtime.java:429)
at java.lang.Runtime.exec(Runtime.java:326)
at com.hp.opencall.ccps.css.handler.FileSoftLinker.makeSoftLink(FileSoftLinker.java:111)
at com.hp.opencall.ccps.css.handler.FileSoftLinker.handleResultDestination(FileSoftLinker.java:59)
at com.hp.opencall.ccps.css.handler.BaseDirectHandler$1.run(BaseDirectHandler.java:78)
at com.hp.opencall.ccps.css.core.ThreadPoolCompletionExecutor$TaskWrapper.run(ThreadPoolCompletionExecutor.java:109)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)