Announcement

Collapse
No announcement yet.

OutOfMemory Error :JavaScript Connector error -

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • OutOfMemory Error :JavaScript Connector error -

    Hi,
    I am using javacriptReader and schedule to execute the script for every 30 seconds. It is giving the following error

    ERROR-414: JavaScript Connector error
    java.lang.OutOfMemoryError: unable to create new native thread
    at java.lang.Thread.start0(Native Method)
    at java.lang.Thread.start(Unknown Source)
    at org.apache.log4j.PropertyConfigurator.configureAnd Watch(PropertyConfigurator.java:384)
    at org.apache.log4j.PropertyConfigurator.configureAnd Watch(PropertyConfigurator.java:364)
    at com.payerpath.service.impl.MirthFacade.<init>(Mirt hFacade.java:36)
    at sun.reflect.GeneratedConstructorAccessor103.newIns tance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at org.mozilla.javascript.MemberBox.newInstance(Membe rBox.java:166)
    at org.mozilla.javascript.NativeJavaClass.constructSp ecific(NativeJavaClass.java:227)
    at org.mozilla.javascript.NativeJavaClass.construct(N ativeJavaClass.java:183)
    at org.mozilla.javascript.NativeJavaClass.call(Native JavaClass.java:164)
    at org.mozilla.javascript.optimizer.OptRuntime.callPr op0(OptRuntime.java:117)
    at org.mozilla.javascript.gen.c87._c6(cbef4231-ef6a-40ed-99de-5985998c2f56:12)
    at org.mozilla.javascript.gen.c87.call(cbef4231-ef6a-40ed-99de-5985998c2f56)
    at org.mozilla.javascript.optimizer.OptRuntime.callNa me0(OptRuntime.java:106)
    at org.mozilla.javascript.gen.c87._c0(cbef4231-ef6a-40ed-99de-5985998c2f56:29)
    at org.mozilla.javascript.gen.c87.call(cbef4231-ef6a-40ed-99de-5985998c2f56)
    at org.mozilla.javascript.ContextFactory.doTopCall(Co ntextFactory.java:337)
    at org.mozilla.javascript.ScriptRuntime.doTopCall(Scr iptRuntime.java:2755)
    at org.mozilla.javascript.gen.c87.call(cbef4231-ef6a-40ed-99de-5985998c2f56)
    at org.mozilla.javascript.gen.c87.exec(cbef4231-ef6a-40ed-99de-5985998c2f56)
    at com.webreach.mirth.connectors.js.JavaScriptMessage Receiver.getMessages(JavaScriptMessageReceiver.jav a:150)
    at com.webreach.mirth.connectors.js.JavaScriptMessage Receiver.poll(JavaScriptMessageReceiver.java:86)
    at org.mule.providers.PollingMessageReceiver.run(Poll ingMessageReceiver.java:90)
    at org.mule.impl.work.WorkerContext.run(WorkerContext .java:290)
    at edu.emory.mathcs.backport.java.util.concurrent.Thr eadPoolExecutor$Worker.runTask(ThreadPoolExecutor. java:650)
    at edu.emory.mathcs.backport.java.util.concurrent.Thr eadPoolExecutor$Worker.run(ThreadPoolExecutor.java :675)
    at java.lang.Thread.run(Unknown Source)



    I am still getting the error and is there any thing I need to take care.

    Any help is appreciated.

    Thanks
    RAm

    Post edited by: rampratapa, at: 10/30/2008 06:28

    Post edited by: rampratapa, at: 11/01/2008 09:40
Working...
X