Since eCLR 3.1 the garbage collector runs automatically. It is not necessary to call or configure the garbage collector explicitly. Nevertheless, this example shows how to configure the garbage collector to evaluate unexpected errors including (for example) lost data.