Puzzled about stack size

Doug Lerner doug at webcrossing.com
Sat Feb 7 18:08:11 EST 2004


This happened to me a couple of weeks ago. A stack that was about 150K
suddenly became 3MB. It turned out that I was saving all my logging data in
a particular field and it was just growing and growing. When I cleared out
that field the saved stack size returned to just 150K.

doug

On 2/8/04 2:40 AM, "Jim Hurley" <jhurley at infostations.com> wrote:

> I have a stack which has one card, about 25 controls and about 800
> lines of script, no graphics, and no images. Pretty much a bare bones
> stack. It is a utility stack I use for working on database materials.
> 
> In the interest of saving space in the file, I deleted the text from
> all fields, yet the stack file shows about 6 megabytes!
> 
> I created a new stack with the same number of controls and inserted
> 800 lines of text in one of the fields. The file is about 24 K.
> 
> Now the db stack originally contained massive amounts of county
> election data. But all of that is gone now, and yet the stack is
> still 6 megs.
> 
> I know that RR does not have a separate utility to compact stack as
> in the old HC days; that is supposedly done with each save (save from
> the menu bar.)
> 
> I have many stacks with more controls, longer scripts, a few
> graphics, and images. Yet they are a fraction of the size of this one
> DB stack. What could be eating up  all this space?
> 
> Jim
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution



More information about the use-livecode mailing list