axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Umesh Barik <barik.um...@yahoo.com>
Subject facing issues in Axis
Date Mon, 13 Apr 2009 22:06:41 GMT
Hi,
I am trying to develop a Simulator which receives huge records from client. After sometime
it throws following exception.

Exception in thread "SIP-Server" java.lang.OutOfMemoryError: Java heap space
Exception in thread "Servant0" - Does dumpme file exists ::false
- Does dumpsa existsC:\TestSim\ESPPServer\dist\tomcat\bin\dumpsa
        at java.net.PlainDatagramSocketImpl.receive0(Native Method)
        at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java
:136)
        at java.net.DatagramSocket.receive(DatagramSocket.java:712)
        at com.cablelabs.espp.sip.SIPServer.run(SIPServer.java:138)
        at java.lang.Thread.run(Thread.java:595)
java.lang.OutOfMemoryError: Java heap space
        at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject
.addConditionWaiter(AbstractQueuedSynchronizer.java:1657)
Exception in thread "BatchProcess"      at java.util.concurrent.locks.AbstractQu
euedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1870
)
        at java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.jav
a:396)
java.lang.OutOfMemoryError: Java heap space
        at java.lang.StringBuilder.toString(StringBuilder.java:431)
        at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$1.parse(Run
timeBuiltinLeafInfoImpl.java:161)
        at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$1.parse(Run
timeBuiltinLeafInfoImpl.java:171)
        at com.sun.xml.bind.v2.runtime.reflect.TransducedAccessor$CompositeTrans
ducedAccessorImpl.parse(TransducedAccessor.java:205)
        at com.sun.xml.bind.v2.runtime.unmarshaller.LeafPropertyLoader.text(Leaf
PropertyLoader.java:25)
        at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.text(Un
marshallingContext.java:415)

 
Assuming it could be due to low RAM size I specified the max and min JVM memory size with
the -Xms and -Xmx parameter. But it did help me. Also after removing the processing of the
records into memory, the above exception changed to something as follows:
 
Apr 10, 2009 12:28:57 PM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Apr 10, 2009 12:28:57 PM org.apache.coyote.http11.Http11BaseProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8443
Apr 10, 2009 12:28:57 PM org.apache.catalina.connector.Connector pause
SEVERE: Protocol handler pause failed
java.net.UnknownHostException: ESPP-Simulator-1.cablelabs.com: ESPP-Simulator-1.cablelabs.com
 at java.net.InetAddress.getLocalHost(InetAddress.java:1353)
 at org.apache.jk.common.ChannelSocket.unLockSocket(ChannelSocket.java:490)
 at org.apache.jk.common.ChannelSocket.pause(ChannelSocket.java:289)
 at org.apache.jk.server.JkMain.pause(JkMain.java:681)
 at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:163)
 at org.apache.catalina.connector.Connector.pause(Connector.java:1032)
 at org.apache.catalina.core.StandardService.stop(StandardService.java:489)
 at org.apache.catalina.core.StandardServer.stop(StandardServer.java:734)
 at org.apache.catalina.startup.Catalina.stop(Catalina.java:602)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:577)
 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:597)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Apr 10, 2009 12:28:58 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
 
I don't have any idea at this point of time how to solve this. Any help will be appreciated.


      
Mime
View raw message