No Garbage Collection (-nogc)

Use No Garbage Collection (-nogc) to disable automatic garbage collection of class-based objects. By default, the AVM automatically deletes .NET objects and ABL objects when there are no remaining references to the object. When -nogc is specified, the application assumes the responsibility of deleting .NET objects and ABL objects explicitly, using the DELETE OBJECT statement. If -nogc is specified, .NET objects and ABL objects that are not explicitly deleted are deleted when the session ends, and the AVM does not invoke any destructors for the class.

Operating system and syntax Windows -nogc
Use with Maximum value Minimum value Single-user default Multi-user default
Client Session

For more information on garbage collection, see ABL Reference and Develop Object-oriented ABL Applications.