Puzzled about stack size

Rob Cozens rcozens at pon.net
Sat Feb 7 12:12:07 EST 2004


>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?

Hi Jim,

No answers, but some thoughts:

* Does the db stack contain externals?

* Does it incorporate a large image or clip?

* Does it incorporate a small image that accidentally had its rect reset?

* Have you opened the stack in the Application Browser and checked 
the list of controls on each card...including the size of their 
scripts?

* If you open & close the stack without adding anything to it, does 
stack size remain static or grow?

If none of that helps, is it feasible to open the stack, delete a 
card or group, close the stack, check stack size, and repeat the 
process until you see a dramatic change in stack size?  Then you 
could go back to the card or group you deleted and repeat the process 
deleting one control at a time.  It's tedious, I know, but it should 
isolate the source of the problem.  Perhaps you could write a script 
that would automate the process?
-- 

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.net/who.htm

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)


More information about the use-livecode mailing list