The garbage collector is triggered by resource scarcity or by programmatic invocation in the application source code.
Is it possible to trigger the GC from the VM code? Any special precautions/steps to do that? In 'gcscan.cpp', it says that FastAllocateObject will throw OutOfMemoryException. Is the exception thrown by the THROWSCOMPLUSEXCEPTION() line? If yes, why that line is right at the beginning of the function? Is it a macro? Gajah Mada =================================== This list is hosted by DevelopMentorŪ http://www.develop.com ASP.NET courses you may be interested in: Guerrilla.NET Sept 27-Oct 1, in Torrance http://www.develop.com/courses/gdotnetls Essential.NET Sept 20-24, in San Francisco Essential.NET Oct. 4-8, in London http://www.develop.com/courses/edotnet View archives and manage your subscription(s) at http://discuss.develop.com