Solved

.exe keeps getting bigger after each compile

Posted on 2014-12-16
7
81 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

821 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