Garbage collection protects against memory leaks by automatically deleting class-based objects that are no longer referenced. For PAS for OpenEdge applications, garbage collection will run always before a switch in the connection context. Thus, PAS for OpenEdge applications running in any application model or connection binding are protected by garbage collection. For more information on garbage collection for class-based objects, see OpenEdge Development: Object-oriented Programming.