Return-Path: X-Original-To: apmail-cxf-users-archive@www.apache.org Delivered-To: apmail-cxf-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 2E428D493 for ; Fri, 7 Sep 2012 18:53:33 +0000 (UTC) Received: (qmail 464 invoked by uid 500); 7 Sep 2012 18:53:32 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 418 invoked by uid 500); 7 Sep 2012 18:53:32 -0000 Mailing-List: contact users-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cxf.apache.org Delivered-To: mailing list users@cxf.apache.org Received: (qmail 410 invoked by uid 99); 7 Sep 2012 18:53:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2012 18:53:32 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [64.85.173.253] (HELO server.dankulp.com) (64.85.173.253) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2012 18:53:26 +0000 Received: by server.dankulp.com (Postfix, from userid 5000) id 8D3F4182B75; Fri, 7 Sep 2012 14:53:05 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on server.dankulp.com X-Spam-Level: X-Msg-File: /tmp/mailfilter-users@cxf.apache.org.gfm0WlgZ6W Received: from macbook.house.dankulp.com (c-24-91-72-253.hsd1.ma.comcast.net [24.91.72.253]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.dankulp.com (Postfix) with ESMTPSA id E41E81829F4 for ; Fri, 7 Sep 2012 14:53:04 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1486\)) Subject: Re: Lowering the memory footprint on deployment of service endpoints From: Daniel Kulp In-Reply-To: <1346962343348-5713684.post@n5.nabble.com> Date: Fri, 7 Sep 2012 14:53:04 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <148599D0-203B-4CD7-974F-5F8BED6006B3@apache.org> References: <1346962343348-5713684.post@n5.nabble.com> To: users@cxf.apache.org X-Mailer: Apple Mail (2.1486) X-Old-Spam-Status: No, score=-102.9 required=3.0 tests=ALL_TRUSTED,BAYES_00, SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.3.2 On Sep 6, 2012, at 4:12 PM, kongar wrote: > Hello all, >=20 > I am working with several service endpoints with wsdls that all import = the > same huge schemas (HL7) that seems to choke my application server = whenever I > try to deploy them. Are you trying to deploy them as separate wars or all in a single war? If in separate wars, you may likely be better off if you can move the = CXF jars and the "shared" classes generated from the schemas out of the = wars and into something like a "shared/lib" or similar. If you do that, = it's likely that CXF can share the JAXBContext objects which can save a = significant amount of memory. Dan > I am publishing my endpoints via the cxf-servlet.xml > config file. Would using a Spring application context or the CXF API = to > publish provide me any substantial benefit? Supposedly the former = loads > modules that I may not need, but the latter two are not as well = documented, > and consequently, I am having a harder time trying to get those to = work. =20 > My deployment seems to choke on the WSDLServiceBuilder/JAXBDataBinding > phase, so I'm guessing the benefits of not using cxf-servlet.xml will = not > matter. >=20 > Can anyone shed some light on what CXF is doing during deployment = (i.e. > WSDLServiceBuilder)? Maybe if I understand what is going on, I can = tune and > lower the memory footprint. Any help will be greatly appreciated! >=20 >=20 >=20 >=20 >=20 >=20 >=20 > -- > View this message in context: = http://cxf.547215.n5.nabble.com/Lowering-the-memory-footprint-on-deploymen= t-of-service-endpoints-tp5713684.html > Sent from the cxf-user mailing list archive at Nabble.com. --=20 Daniel Kulp dkulp@apache.org - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com