freemem

(FW >= 1.0)

freemem - Get number of bytes free

Description

int freemem()

This will get number of RAM bytes free.

Parameters

none

Return Value

freemem() returns the number of bytes currently free.

Examples

<? 
$free=freemem();
if ($free<10000) print("Memory is getting low...");
?>