This code should do it: UInt16 hId = MemHeapID( 0, 0 ) ; UInt32 nFree, maxChunk ; MemHeapFreeBytes( hId, &nFree, &maxChunk ) ;
Jan Slodicka ----- Original Message ----- From: "Chris Apers" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Friday, January 24, 2003 1:03 PM Subject: Free memory > Hi, > > How can i find the total amount of free memory programaticaly ? > the GetOSFreeMem from palm show always the same amount > even if i allocate memory. > > thanks > Chris > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
