Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 66588 invoked from network); 14 Jul 2008 18:48:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Jul 2008 18:48:56 -0000 Received: (qmail 10357 invoked by uid 500); 14 Jul 2008 18:48:53 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 10303 invoked by uid 500); 14 Jul 2008 18:48:52 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 10280 invoked by uid 99); 14 Jul 2008 18:48:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 11:48:52 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 18:48:08 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1153C234C15E for ; Mon, 14 Jul 2008 11:48:32 -0700 (PDT) Message-ID: <353297528.1216061312056.JavaMail.jira@brutus> Date: Mon, 14 Jul 2008 11:48:32 -0700 (PDT) From: "Michael Olson (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Created: (AXIS-2749) SAX2EventRecorder throws Out of Memory exception during Deserialization MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org SAX2EventRecorder throws Out of Memory exception during Deserialization ----------------------------------------------------------------------- Key: AXIS-2749 URL: https://issues.apache.org/jira/browse/AXIS-2749 Project: Axis Issue Type: Bug Components: Serialization/Deserialization Affects Versions: 1.4 Environment: Operating System: OS X 10.5.4, Java SE: 1.6, Java EE: 1.5, Axis: 1.4 Reporter: Michael Olson Priority: Critical After an unspecified amount of time, usually less than twelve hours, a thread repeatedly deserializing SOAP calls will eventually throw a java.lang.OutOfMemoryError. For instance: Exception in thread "Thread-2" java.lang.OutOfMemoryError: Java heap space at org.apache.axis.message.SAX2EventRecorder$objArrayVector.add(SAX2EventRecorder.java:254) at org.apache.axis.message.SAX2EventRecorder.startEntity(SAX2EventRecorder.java:116) at org.apache.axis.encoding.DeserializationContext.startEntity(DeserializationContext.java:1178) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:214) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141) at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236) at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384) at org.apache.axis.client.Call.invoke(Call.java:2467) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at com.opencalais.ws.CalaisSoapStub.enlighten(CalaisSoapStub.java:113) at com.opencalais.api.CalaisClient.enlighten(CalaisClient.java:155) at edu.caltech.cs.eventweb.calaistester.CalaisFeedSubmitter.processOne(CalaisFeedSubmitter.java:88) at edu.caltech.cs.eventweb.calaistester.CalaisFeedSubmitter.run(CalaisFeedSubmitter.java:143) at java.lang.Thread.run(Thread.java:637) It is worth noting that the thread in question maintains very little state itself. It pulls objects from a queue, makes a soap call with that object as a parameter, and then puts the result in another queue. That is all that is expected of that thread. This is either very similar or identical to the problem reported for version 1.2 reported here but unassigned: https://issues.apache.org/jira/browse/AXIS-2698 I wanted to make sure this was also identified as a 1.4 problem. This bug is making the Axis library incredibly unstable for me. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org