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 DC33F10309 for ; Tue, 29 Oct 2013 13:43:20 +0000 (UTC) Received: (qmail 46849 invoked by uid 500); 29 Oct 2013 13:43:20 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 46812 invoked by uid 500); 29 Oct 2013 13:43:19 -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 Delivered-To: moderator for users@camel.apache.org Received: (qmail 99108 invoked by uid 99); 29 Oct 2013 13:17:56 -0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of jogeshanand@rediffmail.com does not designate 216.139.236.26 as permitted sender) Date: Tue, 29 Oct 2013 06:17:29 -0700 (PDT) From: djanand To: users@camel.apache.org Message-ID: <1383052649301-5742355.post@n5.nabble.com> In-Reply-To: <1382996386907-5742333.post@n5.nabble.com> References: <1382966520745-5742307.post@n5.nabble.com> <1382996386907-5742333.post@n5.nabble.com> Subject: Re: Camel Splitter slowness problem MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org alexey-s wrote > Use cache JAXBContext or Marshaller/Unmarshaller in local beans. > Sample: > private SoftReference > > refUnmarshaller; > > Or sample (use Google Guava): Started off on your lines but, found out that by changing the input file format from abc.out file to abc.txt greatly improved the speed of processing(earlier it took 5 hrs, writing only some KB/sec, but now the same file is processed in 800 sec). Unsure of why such a thing could happen. Next, will be implementing soft reference to further improve the performance. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Splitter-slowness-problem-tp5742307p5742355.html Sent from the Camel - Users mailing list archive at Nabble.com.