Looking for tips on memory mgt in standalones

tbodine lvhdgc7 at gmail.com
Thu Dec 6 15:16:40 EST 2012


Hi, all.  Two questions about standalones...

I'm building a desktop app as a standalone that will use separate stacks to
store the user's work. A "New File" button creates the stack under a new
name and saves it to the user's document area. When the user closes such a
file, it looks like it still persists in memory. (Going by what the
Application Browser shows.) What's the best way to remove these document
stacks from memory in a standalone? 

Also, the app will need to save user's preferences. Knowing that main stacks
cannot save to themselves, I set it up with a substack that stores prefs in
custom properties. However, I see now that the substack is actually part of
the main stack file. So doesn't that means the substack will have the same
problem of being sandboxed by the OS and unable to save? What solutions do
you recommend?

Many thanks.

Tom Bodine



--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Looking-for-tips-on-memory-mgt-in-standalones-tp4657895.html
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list