< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate-users] Shrinking the Resiprocate binary


BasicCall is a small test application that has both the resiprocate library (libresip.so) and dum (libdum.so) library statically linked in.  If this is 2.3Mb and you were seeing 1.9Mb with just the stack, then it seems the 1.4.1 release is not that far off from 0.5.0.

Scott

On Thu, Apr 9, 2009 at 5:40 PM, Mandeep Ahuja <ahuja@xxxxxxxxxxxxxxxxx> wrote:
Hi Scott,
At this moment I am interested in "libresip.so"
Without Stripping with version 0.5.0, I was seeing a size of 2.3 M on the above library. Then I strip it using the strip function and end up with 1.9M which is beautiful.

So on resip1.4.1 i see a size of 4M on libresip.so

BasicCall? is the application right? I am interested in what is now called "stack"

thanks
Mandeep
 

Scott Godin wrote:
Actually - once you "strip" it, BasicCall is 2.3Mb.  If you build with  "make CODE_OPTIMZE=3"


On Thu, Apr 9, 2009 at 4:21 PM, Scott Godin <sgodin@xxxxxxxxxxxxxxx> wrote:
Hmm, I not sure what's been done recently that would have caused a large change in binary sizes.  What binary size are you seeing with version 0.5.0?  


For example the "strip"ed size of /dum/test/BasicCall.cpp should be around 2.9Mb.

Scott


On Thu, Apr 9, 2009 at 3:03 PM, Mandeep Ahuja <ahuja@xxxxxxxxxxxxxxxxx> wrote:
Hi Scott,
I have been using the resiprocate/DUM for about 5 years now. I am still on a version which is about 4 years 5 months old (Version 0.5.0). I have had success so far but I think its time to upgrade to a new version.

The problem I am facing is that I can only afford so much size. I would like to have a minimum footprint of the resiprocate. I am using uclibc compiler with shared libraries. Even after using "small" from configure and turning off all the optional features (for e.g, SSL, DTLS etc) I still get a libresip.so about 4M. thats HUGE, I am looking for something around 2M.

Is there anyway I can make it smaller, Any hints you guys can help me with, would compiling out exceptions help? (i dont't know how i can achieve that)

thanks & Regards
Mandeep