Error getting tags :
error 404Error getting tags :
error 404 heapSpace | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
heapSpace
Basics
Expander triangle
Type
Function
Syntax
the heapSpace heapSpace()
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X
Security
None required
Summary
Returns the number of free bytes in the application heap on Mac OS systems.
Examples

the heapSpace
if the heapSpace < 1024^2 then suggestLowMemory

Additional Comments
Expander triangle

Use the heapSpace function to determine how much free memory remains.

Value:

The heapSpace function returns a positive integer.

Comments:

This function exists to aid compatibility with imported HyperCard stacks. It may not return the exact amount of free memory. It also does not take available temporary memory into account.

On Unix and Windows systems, this function does not return a meaningful value.

User Comments
Expander triangle