Standalone Application - Inordinately Large Filesize
Posted: Tue Oct 28, 2014 11:10 am
Good morning everyone!
Please tell me I am doing something wrong here. If I create a brand new mainstack in LC7 and drag a single button onto the canvas and then proceed to export as a standalone application, my compiled app is 8.5MB IN SIZE! This is for 1 button with nary a line of code attached. There are no embedded files or other dependencies and I have completely disabled the build options for other platforms, so I am only exporting to .exe for Windows. How can a completely empty "application" have an 8.5MB filesize?
I have written programs in AutoIt that were 500-1,000 lines of code and compiled them to .exe only to have their filesize be ~800kb-1mb. In fact, if you figure in all the custom UDFs I included into those applications, there were probably more like 3,000+ lines of code that only totaled 800kb upon compilation.
What is the source of this excessively large filesize and how can I trim the fat off of it? I deploy my apps across networks that don't always have the most bandwidth to spare, and I need something that is diminutive in size.
I am sure this is just the ignorance of a beginner. Someone educate me please!
Please tell me I am doing something wrong here. If I create a brand new mainstack in LC7 and drag a single button onto the canvas and then proceed to export as a standalone application, my compiled app is 8.5MB IN SIZE! This is for 1 button with nary a line of code attached. There are no embedded files or other dependencies and I have completely disabled the build options for other platforms, so I am only exporting to .exe for Windows. How can a completely empty "application" have an 8.5MB filesize?
I have written programs in AutoIt that were 500-1,000 lines of code and compiled them to .exe only to have their filesize be ~800kb-1mb. In fact, if you figure in all the custom UDFs I included into those applications, there were probably more like 3,000+ lines of code that only totaled 800kb upon compilation.
What is the source of this excessively large filesize and how can I trim the fat off of it? I deploy my apps across networks that don't always have the most bandwidth to spare, and I need something that is diminutive in size.
I am sure this is just the ignorance of a beginner. Someone educate me please!
