Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B349D1008D for ; Thu, 1 Aug 2013 06:28:13 +0000 (UTC) Received: (qmail 68038 invoked by uid 500); 1 Aug 2013 06:28:12 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 68021 invoked by uid 500); 1 Aug 2013 06:28:11 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 68008 invoked by uid 99); 1 Aug 2013 06:28:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Aug 2013 06:28:10 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: encountered temporary error during SPF processing of domain of rsinha2889@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Aug 2013 06:28:04 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1V4mM8-0001vi-73 for users@camel.apache.org; Wed, 31 Jul 2013 23:27:24 -0700 Date: Wed, 31 Jul 2013 23:27:24 -0700 (PDT) From: Richa To: users@camel.apache.org Message-ID: <1375338444211-5736621.post@n5.nabble.com> Subject: Camel Unmarshal throwing heap space exception MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, I have a camel route where I am dealing with huge CSV files which comes in gzip format. The route looks as follows: from(inputLocation) .unmarshal().gzip() .unmarshal().csv() .process(someProcessor) .to(outputLocation) This route works fine with small files but when I use huge files, it throws heap space exception. Can you please tell me a way to avoid this? I cannot chunk my file before unmarshalling as it will affect my processing in the processor. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Unmarshal-throwing-heap-space-exception-tp5736621.html Sent from the Camel - Users mailing list archive at Nabble.com.