473,397 Members | 2,056 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Front end grows when saving

Since learning from this group about decompiling around three
years ago, I use the decompile, and compact on a daily basis. (Yes, I
back it up first) When the code is released, it is now running at about
25 MB. For the past couple of months, when I make a small change in
the code and save it, the code expands from 25 MB to 70, 100, or even
as much as 150 MB.
Of course, decompiling and compacting still brings it back down to
25 MB but I wonder what is causing the huge growth. I'm using Access
2000.
Thanks,
Hank Reed

Nov 13 '05 #1
7 1195
On 29 Aug 2005 04:59:22 -0700, "Hank" <ha********@aol.com> wrote:

Don't use the /decompile switch unless you have a really good reason.
File size does not count. See
http://www.trigeminal.com/usenet/usenet004.asp?1033

-Tom.

Since learning from this group about decompiling around three
years ago, I use the decompile, and compact on a daily basis. (Yes, I
back it up first) When the code is released, it is now running at about
25 MB. For the past couple of months, when I make a small change in
the code and save it, the code expands from 25 MB to 70, 100, or even
as much as 150 MB.
Of course, decompiling and compacting still brings it back down to
25 MB but I wonder what is causing the huge growth. I'm using Access
2000.
Thanks,
Hank Reed


Nov 13 '05 #2

Hank,

I decompile frequently, and have experienced no problems related to it.
Some observations:

* Extreme file size growth after small changes is a symptom, I my
experience, of very old databases with lots of objects that have been
continouosly modified over a long period of time. Try importing all the
objects into a blank, new database.

* 25MB is kind of large for a front end, in my opinion. You should
think about making it smaller, either by breaking it up into smaller
logical sub-applications, or offloading support code into DLLs using
Visual Basic.

* File size can indeed count, depending on how you update your
front-end on your user's computers.

-Ken

Nov 13 '05 #3
Tom van Stiphout <no*************@cox.net> wrote in
news:lt********************************@4ax.com:
Don't use the /decompile switch unless you have a really good
reason.


I disagree. I use it on a daily basis, and before distributing an
app for production use.

I have never lost a single line of code that wasn't already
corrupted to begin with.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #4
David W. Fenton wrote:
Tom van Stiphout <no*************@cox.net> wrote in
news:lt********************************@4ax.com:

Don't use the /decompile switch unless you have a really good
reason.

I disagree. I use it on a daily basis, and before distributing an
app for production use.

I have never lost a single line of code that wasn't already
corrupted to begin with.


I personally have found it helps greatly with Access 2003 file front end
sizes. My mdbs bloat terrifically in A2003 in development and I find
the general file size to be humoungous compared to what A97 provided me.
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me
Nov 13 '05 #5
Tim Marshall <TI****@PurplePandaChasers.Moertherium> wrote in
news:de**********@coranto.ucs.mun.ca:
David W. Fenton wrote:
Tom van Stiphout <no*************@cox.net> wrote in
news:lt********************************@4ax.com:
Don't use the /decompile switch unless you have a really good
reason.


I disagree. I use it on a daily basis, and before distributing an
app for production use.

I have never lost a single line of code that wasn't already
corrupted to begin with.


I personally have found it helps greatly with Access 2003 file
front end sizes. My mdbs bloat terrifically in A2003 in
development and I find the general file size to be humoungous
compared to what A97 provided me.


I wonder if you have COMPILE ON DEMAND still turned on? THat's the
worst contributor to code bloat, seems to me, and should always be
OFF.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #6
David W. Fenton wrote:
I wonder if you have COMPILE ON DEMAND still turned on? THat's the
worst contributor to code bloat, seems to me, and should always be
OFF.


Arrgh, thanks for reminding me, no, I hadn't followed your previous
advice.

Question, though. Help says CoD "Determines whether a project is fully
compiled before it starts, or whether code is compiled as needed,
allowing the application to start sooner." Is there any trade off for
turning CoD off?

--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "What's UP, Dittoooooo?" - Ditto
Nov 13 '05 #7
Tim Marshall <TI****@PurplePandaChasers.Moertherium> wrote in
news:df**********@coranto.ucs.mun.ca:
David W. Fenton wrote:
I wonder if you have COMPILE ON DEMAND still turned on? THat's
the worst contributor to code bloat, seems to me, and should
always be OFF.


Arrgh, thanks for reminding me, no, I hadn't followed your
previous advice.

Question, though. Help says CoD "Determines whether a project is
fully compiled before it starts, or whether code is compiled as
needed, allowing the application to start sooner." Is there any
trade off for turning CoD off?


No, seems to me. It's only for people who never compile their code.

Since any production database will go into use precompiled or as an
MDE in the first place, it's not an issue except during development.
Turning it off means you control when the code compiles (though if
you open an uncompiled form, it will compile as it needs to).

It's something that MichKa recommended long ago and I find that
turning it off it greatly improves reliability.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: hokiegal99 | last post by:
This script works as I expect, except for the last section. I want the last section to actually remove all spaces from the front and/or end of filenames. For example, a file that was named " test ...
2
by: Atreju | last post by:
I apologize in advance for the x-post, but I am really not sure where this would best be addressed. I am designing a database in MSAccess for which I want to make the front-end in VB. I have...
49
by: Yannick Turgeon | last post by:
Hello, We are in the process of examining our current main application. We have to do some major changes and, in the process, are questionning/validating the use of MS Access as front-end. The...
35
by: robert d via AccessMonster.com | last post by:
I was asked to provide a proposal. I provided a proposal on my application and the prospective client likes what I have but is wary of it having been developed in Access. I don't understand this...
4
by: jonceramic | last post by:
Hi all, I have a situation I can't find any old messages or web-help on. I have a split database with a bizarre quirk. When I open up the front-end file, the main form opens up fairly quickly...
20
by: deepak | last post by:
Hi All, In C I heard the stack grows from top to bottom and heap from bottom to top. Is it compiler depend?
6
by: Monty | last post by:
Hello, I have a singleton settings class (.Net 2.0 framework) that I serialize/deserialize to XML. On my settings class is a shared list of integers. If I have two numbers in my list and I...
14
by: Brian Nelson | last post by:
Sorry for the long post, I've tried so hard to solve this one but I'm just stuck! We've had a multiuser .mdb file on a network share for years. I know it's not ideal, but it's worked well from...
3
by: kstevens | last post by:
I have created a report that looks like a spreadsheet. The only problem is that when one of the cell grows (cangrow property is yes) then the lines beside them are not long enough. I tried this...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.