Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 37572 invoked from network); 5 Mar 2007 18:53:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Mar 2007 18:53:28 -0000 Received: (qmail 52718 invoked by uid 500); 5 Mar 2007 18:53:20 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 52670 invoked by uid 500); 5 Mar 2007 18:53:20 -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 52619 invoked by uid 99); 5 Mar 2007 18:53:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2007 10:53:20 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2007 10:53:11 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E573E71433E for ; Mon, 5 Mar 2007 10:52:50 -0800 (PST) Message-ID: <20839012.1173120770937.JavaMail.jira@brutus> Date: Mon, 5 Mar 2007 10:52:50 -0800 (PST) From: "benjamin lefevre (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Resolved: (AXIS2-2285) MTOM sample fails with large files (e.g. 37MB) In-Reply-To: <10377247.1172859350677.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-2285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] benjamin lefevre resolved AXIS2-2285. ------------------------------------- Resolution: Invalid > MTOM sample fails with large files (e.g. 37MB) > ---------------------------------------------- > > Key: AXIS2-2285 > URL: https://issues.apache.org/jira/browse/AXIS2-2285 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: samples > Affects Versions: 1.1.1 > Environment: Windows XP, Tomcat 5.5, JRE sun 1.5.0_06 > Reporter: benjamin lefevre > > The MTOM sample works fine with files from 0 to 10MB, until I tried to work with a large file (37MB). > I get an OutOfMemoryException on both side (client and server): > client side: > Exception in thread "main" org.apache.axis2.AxisFault: java.lang.OutOfMemoryError: Java heap space > at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:271) > at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:202) > at sample.mtom.service.MTOMSampleStub.attachment(MTOMSampleStub.java:141) > at sample.mtom.client.Client.transferFile(Client.java:119) > at sample.mtom.client.Client.main(ClientMain.java:71) > server side: > 2 mars 2007 18:52:28 org.apache.axis2.transport.http.AxisServlet doPost > GRAVE: java.lang.OutOfMemoryError: Java heap space > I am a bit disapointed, since I was thinking that MTOM would permit to upload large file over SOAP/HTTP streaming without requiring extra-memory. I set the JVM's (tomcat and client) with large heap size (using -Xmx1024m option). Do I miss something ? -- 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