Solved

.exe keeps getting bigger after each compile

Posted on 2014-12-16
7
82 Views
Last Modified: 2014-12-16
In my project, every time I make a very small adjustment the resulting .exe file gets larger.  For example, my last executable was 24.6 MB   Now the new one is over 25MB after hardly any changed to the code.

What exactly causes this?
0
Comment
Question by:al4629740
  • 4
  • 3
7 Comments
 
LVL 46

Expert Comment

by:Martin Liss
ID: 40503492
If you recompile without any changes does the size change?
0
 
LVL 46

Expert Comment

by:Martin Liss
ID: 40503505
BTW when I compile the project that I used for the last question of yours that I worked on it's only 64KB.
0
 

Author Comment

by:al4629740
ID: 40503554
I just tested it out and the size stays the same.   Maybe it is naturally getting bigger and its just surprising me...
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 46

Expert Comment

by:Martin Liss
ID: 40503585
25MB surprises me. Have you added other things besides the blocked sites list and the allowed maintenance?
0
 

Author Comment

by:al4629740
ID: 40503606
Oh no.  This is a different project I'm talking about.
0
 
LVL 46

Accepted Solution

by:
Martin Liss earned 500 total points
ID: 40503622
That explains the size difference and so I assume the increase you are seeing is normal. Make sure you don't have any unused controls in Project|Components because while that won'y make the project grow, it will make it bigger than needed. If you want to upload your project I'll take a look at it.
0
 

Author Closing Comment

by:al4629740
ID: 40503651
Thank you
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

827 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question