Mark Waddingham <mark@...> writes:

> As an addendum, Fraser just reminded that even this is entirely useless 
> on Linux.

OK - 'flaky' was a bad choice of words here. Point taken.

And yes, the replacement for the hasMemory function was actually just
an afterthought. What I really was after is what the OS thinks is the amount
of free non-virtual ram, for use in error reporting.

Since all modern operating systems will happily dish out virtual memory
and swap things around, I agree that seeing if you can allocate a block of
memory of a given size is somewhat less useful. What might be more useful,
though, is determining whether swap space is being used, which could have
significant impact on program responsiveness.

-- 
 Mark Wieder
 ahsoftw...@gmail.com





_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to