Servertec | freeMemory( )

Content Introduction Release Notes Features FAQs Requirements Installation Change Log Future Plans Knowledge Base Reference Manual Conventions Scriptlets Data Types Constants Variables Procedures Operators Statements Objects Array Config Context Cookie Date Enumeration File FileDescriptor Hashtable Internet IO JDBC Number Object Properties Random Request RequestDispatcher Response Session SqlTypes Stack StreamTokenizer String StringBuffer StringTokenizer System args( ) arrayCopy( ) call( ) cgi( ) currentTimeMillis( ) cwd( ) destroy( ) env( ) err( ) exec( ) exit( ) exitValue( ) freeMemory( ) gc( ) getErrorStream( ) getInputStream( ) getOutputStream( ) getProperties( ) getProperty( ) getRuntime( ) getSecurity Manager( ) in( ) inputFile( ) load( ) loadLibrary( ) make out( ) outputFile( ) runFinalization( ) setErr( ) setIn( ) setOut( ) setProperties( ) setSecurity Manager( ) stderr( ) stdin( ) stdout( ) totalMemory( ) waitFor( ) Vector Wrappers Servlet Server Pages Preprocessor Executable Samples Legal Contact Us |
Returns the amount of free memory in the system. #### Syntax freeMemory( ) #### Parameters
runtime | the runtime object to use.
#### Returns
long | the amount of free memory.
#### Example
    if rt.freeMemory( ) < 1024 then
        println( "low on memory" )
    end
top of page Copyright © 1998-2005 Servertec. All rights reserved. Privacy Statement. Last Modified: Sun Sep 04 14:56:08 EDT 2005