On 6/30/13 9:16 PM, Phil Davis wrote:
Interesting question, Richard. Here is something I just tried in a quick
CGI script. Don't know it gives the memory info we need, but here goes:
put "<p>" & word 2 of shell("ps -p" && the processID && "-o rss") &
"k</p>"
Maybe there's a way to tweak it for better results.
On a related note, is there a way to determine the memory available for
a LiveCode app on a desktop machine? Mac & Windows?
I thought there used to be a "hasMemory" function or similar. Maybe it
was an inert SC placeholder.
Phil
On 6/30/13 1:28 PM, Richard Gaskin wrote:
Phil's recent thread on LC Server memory usage got me thinking: how
can we measure the RAM used by LC Server while it's running?
CGI processes generally end too quickly to show up in top. Any other
solutions?
--
Richard Gaskin
Fourth World
LiveCode training and consulting: http://www.fourthworld.com
Webzine for LiveCode developers: http://www.LiveCodeJournal.com
Follow me on Twitter: http://twitter.com/FourthWorldSys
_______________________________________________
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
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.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