Hi,
I'd like to to clarify the meaning of GC.GetTotalMemory indicator which you report in logs of Web application if log level is at least set to "3". As I understand it this value should tell me how much memory is occupied by XAF (or .NET in general), on the other hand the memory usage of a process in Task Manager is far greater than the value of GC.GetTotalMemory(false) shows in the log.
Could please explain how should I interpret those two different values?
Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Hi,
The Task Memory shows all the memory allocated for your process, while the GC.GetTotalMemory() method returns only the amount of managed memory allocated. You can find all necessary information about GC in the MSDN library.
Please refer to the link : http://msdn.microsoft.com/msdnmag/issues/1100/gci/
Thanks,
Marina