Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!.POSTED!not-for-mail From: Marco van de Voort Newsgroups: comp.lang.pascal.delphi.misc Subject: Re: Delphi XE2 compiled VCL Win32 EXE size Date: Sat, 16 Mar 2013 14:44:10 +0000 (UTC) Organization: Stack Usenet News Service Lines: 21 Message-ID: References: NNTP-Posting-Host: toad.stack.nl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: mud.stack.nl 1363445050 93301 2001:610:1108:5010::135 (16 Mar 2013 14:44:10 GMT) X-Complaints-To: abuse@stack.nl NNTP-Posting-Date: Sat, 16 Mar 2013 14:44:10 +0000 (UTC) User-Agent: slrn/0.9.9p1 (FreeBSD) Xref: csiph.com comp.lang.pascal.delphi.misc:459 On 2013-03-15, JJ wrote: >>> It's freaking 1.6MB for an empty form when using Release build. >> >> I just did the same on an empty form in Delphi XE3: >> >> 2,283,008 Project2.exe > > I just found out that the Vcl.Themes unit is the largest portions of the > application code+data in comparison with other used units based on a > generated Segment map file. It's used even though the Runtime Theme is > set to None. I guess they made the code a permanent part of VCL > regardless of that setting. Possibly owner drawn parts depend on it no matter what is configured since these have no default look drawn by the OS? > I don't have XE3 (yet). Could you make a Segment map of an empty VCL > project (Win32 release build) and post it to pastebin.com? I'm curious of > which unit has the largest increase of code+data in comparison with XE2. Done http://pastebin.com/WcwsP7Cn