Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 12 of 12 total
Thread DBISAM3 to ElevateDB - EXE size
Mon, Apr 14 2014 5:10 PMPermanent Link

Jeff Cook

Aspect Systems Ltd

Avatar

Thanks Adam

I have been using UPX (actually my colleague who does the QA, support and
releases has used it) and gets my 35Mb down to 7MB, but previous it was 10Mb
down to 2.5Mb.

I guess I shouldn't get too excited about as I am presumably not doing
anything drastically wrong.

Cheers

Jeff

--
Jeff Cook
Aspect Systems Ltd
www.aspect.co.nz

<Adam Brett> wrote in message
news:7BAB108D-95D0-4235-B862-07C438488D77@news.elevatesoft.com...
> Jeff,
>
> I had a similar problem moving up from D7 to XE2. My exe size went from 11
> to 27meg.
>
> I fished around for reasons (I am sure there are many!) and this helped a
> bit, but in the end I started using a product called UPX.
>
>>>The Ultimate Packer for eXecutables
>>>Markus Oberhumer, Laszlo Molnar & John Reiser
>>>http://upx.sourceforge.net
>
> This is a neat tool which can be incorporated into your POST BUILD events,
> and which seamlessly compressses your EXE. It leads to very slightly
> longer loading times for the user (hardly noticeable in my experience)
> and reduces EXE to about 1/4 of prior size. Mine are now 7meg.
>
> As it lengthens build-time I created a specific build configuration to use
> UPX, so that in general debugging UPX doesn't fire.
>
> It has worked well for me without any problems, and its free.
>

Mon, Apr 14 2014 6:19 PMPermanent Link

Jeff Cook

Aspect Systems Ltd

Avatar

"Raul" <raul@removethis.raul.ca> wrote in message
news:E9BD1627-AB8D-499A-B81F-0626EA713970@news.elevatesoft.com...
> I'd say you're still in debug.
>
> The screenshot you're showing has no effect on what the active
> configuration is - this is one of the changes in newer delphis.
>
> I don't have XE but in XE2 and XE5 you actually need to change it in the
> project manager window (right hand side where the files are - there
> should be a "Build Configuration" tree node with debug and release
> underneath) - double click on release to make it active and then do a
> clean and rebuild.
>
Hi Raul

OK that's fixed it - right clicking my.exe>>Build Configurations>> Release
and selecting build does it.

My 35Mb is down to 14Mb and UPX takes it down to 3.7Mb which is great.  How
to do the release build is not blindingly obvious until you have done it
once!

Many Thanks

Jeff
--
Jeff Cook
Aspect Systems Ltd
www.aspect.co.nz

« Previous PagePage 2 of 2
Jump to Page:  1 2
Image