Hi there, This is the link to the sample code from Palmsource. http://kb.palmsource.com/cgi-bin/palmsource.cfg/php/enduser/cls_adp.php?p_sid=4HEOqCug&p_lva=&p_li=&p_sp=cF9zcmNoPTEmcF9ncmlkc29ydD0mcF9yb3dfY250PTAmcF9zZWFyY2hfdGV4dD1nZXRvc2ZyZWVtZW0mcF9zZWFyY2hfdHlwZT0zJnBfcHJvZF9sdmwxPTImcF9jYXRfbHZsMT0xNyZwX3NvcnRfYnk9ZGZsdCZwX3BhZ2U9MQ**&p_cluster=20046|30051&p_faqid=291&p_created=1032309756
If the link doesn't get you there, then go to knowledge base in Palmsource, then search for "free memory and total memory". I can also send you that sample code (GetOSFreeMem()). Hope that helps. tnn __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/