Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 22531 invoked from network); 20 Oct 2009 00:13:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Oct 2009 00:13:53 -0000 Received: (qmail 24187 invoked by uid 500); 20 Oct 2009 00:13:52 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 24134 invoked by uid 500); 20 Oct 2009 00:13:52 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 24119 invoked by uid 99); 20 Oct 2009 00:13:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Oct 2009 00:13:52 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tabish121@gmail.com designates 209.85.219.225 as permitted sender) Received: from [209.85.219.225] (HELO mail-ew0-f225.google.com) (209.85.219.225) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Oct 2009 00:13:48 +0000 Received: by ewy25 with SMTP id 25so4977452ewy.45 for ; Mon, 19 Oct 2009 17:13:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=8dvFF6Qd5nHs57AYscfRhzpNLKuppUaEcc0Yu/y8ev4=; b=Nni3QI36dP7v0d2ly6kp+huCht9g2IFYh1inqGigUX2pBmgnyFGyikY48u5P0oGtqM 11ij2QROcYQIrSgoy70R+CaQvQHixzy3G0yQR75Wgn8iHgVii+dy9XmTiYaE2wUKaTfk fIkgCCmjjQHWMV/i+BLXuxVnz2HCkJpdaIwVo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=NWC0N2o5oYclowTPcztBbHkuyxHhk12iz3sL8XbDRSEYe3+KFHGkrcSeP+A+3sZWYq ozsp1E7QteLgguDfFwptSarBBHbyxY+EYUUfKssyywjEtcYJL1Mw3If3EzVqQawiDwV3 ZdLyesMWmDJNVtSYFV6CKZM87DDQs1X7n9TiI= Received: by 10.210.7.11 with SMTP id 11mr368059ebg.5.1255997606677; Mon, 19 Oct 2009 17:13:26 -0700 (PDT) Received: from ?192.168.2.150? (c-69-138-183-90.hsd1.va.comcast.net [69.138.183.90]) by mx.google.com with ESMTPS id 10sm1915964eyd.42.2009.10.19.17.13.25 (version=SSLv3 cipher=RC4-MD5); Mon, 19 Oct 2009 17:13:26 -0700 (PDT) Subject: Re: ActiveMQ CPP library Size From: Timothy Bish To: users@activemq.apache.org In-Reply-To: <25967541.post@talk.nabble.com> References: <25966248.post@talk.nabble.com> <1255992573.2864.2.camel@localhost> <25967541.post@talk.nabble.com> Content-Type: text/plain Date: Mon, 19 Oct 2009 20:13:24 -0400 Message-Id: <1255997604.2864.4.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 (2.26.3-1.fc11) Content-Transfer-Encoding: 7bit On Mon, 2009-10-19 at 16:38 -0700, yesnid wrote: > Tim, > > Can you point me at what we might be doing wrong as far as the build that > causes it to be so large, we are doing a get and then opening the project in > VS2k8 and saying build solution, should we be doing something else? Also why > is the linux lib so much larger than the windows version? > I don't know why your Windows DLL would be so large, are you sure you aren't looking at the size of the static lib? The Linux shlib is built with the -g option to preserve information that's useful in back-tracing a crash, if you run the strip command on it that information is removed, reducing the size of the library. > > Thank you for your help. > > > > > Timothy Bish wrote: > > > > On Mon, 2009-10-19 at 14:46 -0700, yesnid wrote: > >> Hello All, > >> > >> I am trying to get some of my compatriots to use ActiveMQ but they are > >> saying that the C++ library is 400+ MB in size when they compile it for > >> windows, we compiled the linux version and got an approximately 35MB > >> library. I am sure especially with the windows one that this can be a > >> much > >> smaller library, I only need the client capabilities, the broker is on a > >> separate box, If any one could give help/proof in showing that these > >> libraries do not have to be this large I would appreciate it. Thank you! > > > > The dynamic libraries on Windows are pretty small, the release build of > > the dll is about 6.5 MB, and the debug version is around 9 MB. > > > > You can run the strip command on the linux library further reduce its > > size, although you won't get any meaningful stack traces from it should > > there any crashes. > > > > Regards > > Tim. > > > > > > -- > > Tim Bish > > http://fusesource.com > > http://timbish.blogspot.com/ > > > > > > > > > > > -- Tim Bish http://fusesource.com http://timbish.blogspot.com/