C#

Moderators: None (Apply to moderate this forum)
Number of threads: 2720
Number of posts: 5746

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
How to track the size of C# reference type Posted by zxgcl on 23 Sept 2003 at 8:04 PM
Hi, folks:
I am writing a small program about tracking C# memory allocation and deallocation. I couldn't find a way of getting the size of a reference type. If you can do it, please reply to this note.
Thanks a lot.

Report
Re: How to track the size of C# reference type Posted by emaino on 24 Sept 2003 at 9:31 PM
I would look into using the CLR profiler in this case. Take a look at this link:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/highperfmanagedapps.asp


Eric Maino
GVSU Microsoft SA




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.