The gc function initiates a garbage collection, or a garbage collection with memory compaction, or turns garbage collection on or off.


The gc function can be used to initiate a garbage collection with or without memory compaction.




(gc command)

Arguments Name Type Description
Argument:command Context (Missing) No command argument initiates a garbage collection. (compact:) A command argument of the symbol compact: initiates a garbage collection with memory compaction. (true) A command argument of the boolean true turn automatic garbage collection on. (false) A command argument of the boolean false turn automatic garbage collection off.





Here are a number of links to Lambda coding examples which contain this instruction in various use cases.


Argument Types

Here are the links to the data types of the function arguments.

Boolean Symbol

Here are also a number of links to functions having arguments with any of these data types.

++ += /= *=
-- -= abortTransaction addMethod
append apply badd bcompareEQ
bcompareGE bcompareGT bcompareLE bcompareLT
bcompareNE bdiv beginTransaction binaryInsert
binaryNand binaryNor binaryNot binaryNxor
binarySearch bitwiseAnd bitwiseNand bitwiseNor
bitwiseNot bitwiseNxor bitwiseOr bitwiseShiftLeft
bitwiseShiftRight bitwiseXor bmod bmul
boolean ccompareEQ ccompareGE ccompareGT
ccompareLE ccompareLT ccompareNE cdr
character checkPointTransaction clear commitTransaction
compareEQ compareGE compareGT compareLE
compareLT compareNE compare comparison
compile compress cons count
debug defchild defclass define(macro)
define defmacro defmethod deforphan
defriend defun delete dimension
disassemble display downcase encode
exportCsv exportSbf exportTab fdisplay
fileClose fileCopy fileDir fileDisplay
fileErase fileOpen fileRead fileWrite
filewriteln findBlock gc getGlobalValue
getSymbolTable globalBinding icompareEQ icompareGE
icompareGT icompareLE icompareLT icompareNE
importCsv importSbf importTab insert
inside inspect integer isAtom
isBitVector isBoolean isBound isByteVector
isCharAlphabetic isCharAlphanumeric isCharLowercase isCharName
isCharNumeric isCharUppercase isCharWhitespace isChar
isCharacter isComplex isDate isDictionary
isDirectory isEqual isError isEven
isExact isFloatVector isIdentical isImmediate
isInexact isInside isIntegerVector isInteger
isLambda isMatrix isMember isMoney
isNegative isNull isNumberMatrix isNumberVector
isNumber isObjectVector isObject isOdd
isPair isPcodeVector isPositive isString
isStructure isSymbol isText isTransaction
isType isVector isZero length
lisp list loadModule loadWorkspace
lock logConsole macroReplace makeQuotedList
makeQuotedSymbol member methodsOf money
morph ncompareEQ ncompareGE ncompareGT
ncompareLE ncompareLT ncompareNE new
number offset onError openLog
pair parent parse pointer
proplist proprecord putprop qt
quit ref remProp remove
rename reset saveModule saveObject
saveRepository saveWorkspace setBlock setCar
setCdr setLastCdr set setf
setq sizeof sort sql
stringCiEQ stringCiGE stringCiGT stringCiLE
stringCiLT stringCiNE string substringCiEQ
substringCiGE substringCiGT substringCiLE substringCiLT
substringCiNE substringEQ substringGE substringGT
substringLE substringLT substringNE svmRegression
symbolToTypeCode symbol systemCheck type
uniqueInsert unlock vectorFill version
writelg writeln

Analytic Information Server (AIS)

AIS Component Systems

  • Smartbase Engine
  • QT C++ Libraries
  • MySQL Relational Database
  • AIS Lisp Libraries
  • Rapid Analytic Demo IDE