Garbage Collection/Old Data in stack

J. Landman Gay jacque at hyperactivesw.com
Sat Jan 17 14:53:34 EST 2015


On 1/17/2015 1:11 PM, Ralph DiMola wrote:
> I was making a stub stack. I started with my original stack and deleted all
> the cards except 1. The resulting stack is 3MB. I then deleted all the
> scripts and objects on the remaining card and still 3MB. I Delete all the
> scripts from the stack and still 3MB. I opened that stack in a text editor
> and found all sorts of images and custom properties for cards that no longer
> exist.
>
> How can I clean up this stack? Are there other orphans in my main stack and
> other stacks that I don't know about? Am I missing something here or is
> there some stack corruption that has creeped in over time?

Choose to show "Livecode UI Elements in Lists" from the View menu. Then 
start checking the custom property sets of the stack, cards, and 
objects. It's likely you're seeing LC custom props used during development.

The standalone builder strips these out, but they stay in the stack.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list