Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
.APP growing like Topsy
Message
From
27/01/2000 08:27:30
 
 
To
27/01/2000 07:20:43
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00323441
Message ID:
00323471
Views:
27
>I have two applications that are growing every time I compile them into .APPs.
>
>I can, for instance, compile one into an app, and the size is 3.4MB. I can immediately compile it again, and the size is 4.2MB. The other is exhibiting the same behavior.
>
>Both have debug turned on; they are smaller when it is turned off, but I really need the line numbers in error trapping.
>
>Clues?
>

When class libraries, forms, reports and the like compile, the results are written into their .??t in much the same fashion as rewriting the content of a memo field in FoxPro, anbd they're subject to the same kind ofgrowth through not reusing sections of otherwise idle memo space all the time. I suspect that you've got the moral equivalent of memo bloat running through your application. You might try writing a bit of code that rolls through the content of your application (VFP 6's Project class can help here), opens each of the applicable files as a DBF EXCLUSIVEly, and then PACKs them, after having recompiled everything. If you then go through and build your app without another run of compilation, you might find some surprising savings in file size.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform