Thanks. Just in case
;Winbatch 2013 - CLR Garbage Collection Object
;
;
;Stan Littlefield June 18, 2013
;////////////////////////////////////////////////////////////////////////////////////////////////////////
ObjectClrOption("use","System.Net, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")
oGC = ObjectClrNew('System.GC')
;just testing 1 property and 2 methods
maxgen = oGC.MaxGeneration
Message("",maxgen)
oBool = ObjectType("BOOL",0)
oGC.Collect(0)
Message("",oGC.GetTotalMemory(oBool))
oGC=0
Exit
;//////////////////////////////////////////////////////////////////////