How to tell if out-of-memory condition is approaching

Bill Marriott wjm at wjm.org
Sun Jul 22 11:13:59 EDT 2007


Mark,

>>>
I have an app that walks directories and stores data in variables.  For 
extreme trees, available memory can peter out and the app becomes 
unresponsive.
<<<

This is an ideal situation for using SQLite (included in Rev 2.8.1) and a 
database approach, rather than loading everything up into RAM. Storing your 
info in variables makes it easier to program, but given the practically 
unlimited capacity of hard drives it's not an approach that will serve you 
well in this application. With SQLite you have the ability to do sorts, 
selections and just about any other kind of manipulation... plus it's really 
fast. 






More information about the use-livecode mailing list