I would have expected a breakpoint in excep.cpp to have worked. Managed System.OutOfMemoryException is thrown when the garbage collector fails to allocate memory. gcsmp.cpp calls ComPlusThrowOM() which is a macro that calls RealCOMPlusThrowOM() in excep.cpp.
You could also try putting a breakpoint in the PAL's VirtualAlloc() code as the gc uses that API to reserve and commit memory. Barry This posting is provided "AS IS" with no warranties, and confers no rights. -----Original Message----- From: Discussion of the Rotor Shared Source CLI implementation [mailto:[EMAIL PROTECTED] On Behalf Of Archana Sent: Monday, March 01, 2004 4:23 AM To: [EMAIL PROTECTED] Subject: Re: [DOTNET-ROTOR] regarding a class loader error msg Hi, after some sensible debugging i realized that the problem is occuring while fetching classes, in the process i am getting an out of memory exception. Can you please tell me how i can track the alloc call that has caused the exception? i tried putting break points in excep.cpp, places where E_OUTOFMEMORY is returned etc.. but still i couldnt figure out the call. this happens when the build process eventually invokes the following.. 1. clix /home/archana/final/sscli/build/v1.x86fstchk.rotor/jsc.exe -debug+ -out:objdf/rotor_x86/codetohtml.exe codetohtml.js Microsoft (R) JScript Shared Source CLI Compiler version 7.00.3300 for Microsoft (R) Shared Source CLI version 1.00.0003 Copyright (C) Microsoft Corporation 1996-2002. All rights reserved. ***INTERNAL COMPILER ERROR*** fatal error JS2999: Exception of type System.OutOfMemoryException was thrown. and 2. clix /home/archana/rotor/sscli/build/v1.x86fstchk.rotor/samples/utilities/xsd /xsd /namespace:XmlSerializationHowTo /c /out:objdf/rotor_x86 /l:C# purchaseorder.xsd -- Thanks, Archana ---------- Forwarded message ---------- Date: Sat, 28 Feb 2004 15:12:01 +0530 From: Archana <[EMAIL PROTECTED]> Reply-To: Discussion of the Rotor Shared Source CLI implementation =================================== This list is hosted by DevelopMentor(r) http://www.develop.com NEW! ASP.NET courses you may be interested in: 2 Days of ASP.NET, 29 Sept 2003, in Redmond http://www.develop.com/courses/2daspdotnet Guerrilla ASP.NET, 13 Oct 2003, in Boston http://www.develop.com/courses/gaspdotnet View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentorŪ http://www.develop.com NEW! ASP.NET courses you may be interested in: 2 Days of ASP.NET, 29 Sept 2003, in Redmond http://www.develop.com/courses/2daspdotnet Guerrilla ASP.NET, 13 Oct 2003, in Boston http://www.develop.com/courses/gaspdotnet View archives and manage your subscription(s) at http://discuss.develop.com