[DUG] How to reduce size of Delphi XE2/DevExpress compiled exe?
Robo
robo555 at gmail.com
Fri Aug 24 14:20:47 NZST 2012
Odd, using UPXG 1.39 (latest version) an default options, it didn't
modify the exe at all, i.e. it didn't even bother making a backup.
If I tick 'Reduce the exe before compression' and 'Force compression',
it reduced my 25MB exe to 24MB, so bugger all.
The exe uses DevExpress components.
Robo
On Fri, Aug 24, 2012 at 1:57 PM, Paul A Norman <paul.a.norman at gmail.com> wrote:
> ... And it (UPXG) doesn't add any really perceptible time overhead when you
> application is executed.
>
> Paul
>
> On 24 August 2012 13:29, Kyley Harris <Kyley at harrissoftware.com> wrote:
>>
>> I also use it.. an app with debugging at 25mb becomes about 5-6mb. its
>> excellent.
>>
>>
>> On Thu, Aug 23, 2012 at 9:31 PM, Jeremy Coulter <jscoulter at gmail.com>
>> wrote:
>>>
>>> You could also use UPXG which compresses and does some other bits and
>>> pieces
>>> to the exe to make it smaller.
>>> I have used it for at least 8 years and never had a problem. A 19mb exe
>>> goes
>>> to just over 6mb!
>>>
>>> Jeremy C.
>>>
>>> -----Original Message-----
>>> From: delphi-bounces at listserver.123.net.nz
>>> [mailto:delphi-bounces at listserver.123.net.nz] On Behalf Of Robo
>>> Sent: Thursday, 23 August 2012 17:25
>>> To: NZ Borland Developers Group - Delphi List
>>> Subject: Re: [DUG] How to reduce size of Delphi XE2/DevExpress compiled
>>> exe?
>>>
>>> Thanks, do you know exactly where that is?
>>>
>>> Is it Component > Install Packages, then un-tick all the 'ExpressSkins
>>> Library Uses Clause AutoFill Helper'?
>>>
>>> Robo
>>>
>>> On Thu, Aug 23, 2012 at 5:13 PM, Jeremy North <jeremy.north at gmail.com>
>>> wrote:
>>> > Make sure you don't have the 300 skins that come with devexpress
>>> > included.
>>> >
>>> > There is an option in the IDE to disabled them for a project or for all
>>> > time.
>>> >
>>> >
>>> > On Thu, Aug 23, 2012 at 2:53 PM, Colin Johnsun <colin.adug at gmail.com>
>>> wrote:
>>> >>
>>> >> Delphi XE2 carries over a lot of meta information for use with the
>>> >> RTTI. This may be the cause of the bloat in size.
>>> >>
>>> >> There are compiler options which you can use to switch it off. See the
>>> >> link below:
>>> >>
>>> >>
>>> >>
>>>
>>> http://delphi.about.com/b/2011/07/26/create-smaller-delphi-xe-executables-re
>>> move-rtti-pack-exe.htm
>>> >>
>>> >> Cheers,
>>> >> Colin
>>> >>
>>> >> On 23 August 2012 13:41, Robo <robo555 at gmail.com> wrote:
>>> >> > If I compile the attached project in Delphi XE2, which only contains
>>> >> > a
>>> >> > blank form, I get a 7MB exe.
>>> >> >
>>> >> > If I start using DevExpress components, what used to be a 5MB exe in
>>> >> > Delphi 2005 turns into a 25MB exe in XE2.
>>> >> >
>>> >> > - What can I do to reduce the size? The blank project would have
>>> >> > been
>>> >> > about 500KB in previous versions of Delphi.
>>> >> > - How can I keep the file size down when using DevExpress
>>> >> > components?
>>> >> >
>>> >> > _______________________________________________
>>> >> > NZ Borland Developers Group - Delphi mailing list
>>> >> > Post: delphi at listserver.123.net.nz
>>> >> > Admin: http://delphi.org.nz/mailman/listinfo/delphi
>>> >> > Unsubscribe: send an email to delphi-request at listserver.123.net.nz
>>> >> > with
>>> >> > Subject: unsubscribe
>>> >> _______________________________________________
>>> >> NZ Borland Developers Group - Delphi mailing list
>>> >> Post: delphi at listserver.123.net.nz
>>> >> Admin: http://delphi.org.nz/mailman/listinfo/delphi
>>> >> Unsubscribe: send an email to delphi-request at listserver.123.net.nz
>>> >> with
>>> >> Subject: unsubscribe
>>> >
>>> >
>>> >
>>> > _______________________________________________
>>> > NZ Borland Developers Group - Delphi mailing list
>>> > Post: delphi at listserver.123.net.nz
>>> > Admin: http://delphi.org.nz/mailman/listinfo/delphi
>>> > Unsubscribe: send an email to delphi-request at listserver.123.net.nz with
>>> > Subject: unsubscribe
>>> _______________________________________________
>>> NZ Borland Developers Group - Delphi mailing list
>>> Post: delphi at listserver.123.net.nz
>>> Admin: http://delphi.org.nz/mailman/listinfo/delphi
>>> Unsubscribe: send an email to delphi-request at listserver.123.net.nz with
>>> Subject: unsubscribe
>>>
>>> _______________________________________________
>>> NZ Borland Developers Group - Delphi mailing list
>>> Post: delphi at listserver.123.net.nz
>>> Admin: http://delphi.org.nz/mailman/listinfo/delphi
>>> Unsubscribe: send an email to delphi-request at listserver.123.net.nz with
>>> Subject: unsubscribe
>>
>>
>>
>>
>> --
>> Kyley Harris
>> Harris Software
>> +64-21-671-821
>>
>> _______________________________________________
>> NZ Borland Developers Group - Delphi mailing list
>> Post: delphi at listserver.123.net.nz
>> Admin: http://delphi.org.nz/mailman/listinfo/delphi
>> Unsubscribe: send an email to delphi-request at listserver.123.net.nz with
>> Subject: unsubscribe
>
>
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at listserver.123.net.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at listserver.123.net.nz with
> Subject: unsubscribe
More information about the Delphi
mailing list