microsoft.public.dotnet.framework.performance Archive - April 2002
Post a message to this list
Messages
Page: 1
Custom Performance Counters (2 replies)
microsoft.public.dotnet.framework.performance
I have developed a console app that reads an XML file and creates a custom performance category with various counters from it. While looking through the framework, I have noticed that there does not seem to be a way to add additional counters once the Category is created. Does anyone know if it is possible to add additional counters? Thanks John
Memory consumption (2 replies)
microsoft.public.dotnet.framework.performance
Hi I was wondering how the garbage collection actually works. Since you can't be sure when it is going to run (can you tell it to run?) can it be so that it starts filling up all my memory and first when the physical memory is used it starts to garbage collect and then will it remove everything or just as much it need to make some physical memory available? So in the end will my server after a whi...
HOWTO: Force GC to reduce reserved memory (11 replies)
microsoft.public.dotnet.framework.performance
Hello, is it possible to force the Garbage Collector to reduce the "# of Total reserved bytes" to almost "# of Total commited bytes" ??? And also to free this memory, so the "# of Private bytes" will decrise ? Greetings Jochen
Custom Performance Counter (AverageTimer32) (2 replies)
microsoft.public.dotnet.framework.performance
Hi, I'm trying to create a custom performance counter of type AverageTimer32. When I create the counter and increment or set value no changes are reflected when viewed in perfmon. Does anyone have an example of how to use the AverageTimer32 performance counter (I've implemented RateOfCountsPerSecond64 and NumberOfItems64 with no problems...but AverageTimer32 is driving me crazy.) Thanks in advance...
Can I preload the .NET framework? (6 replies)
microsoft.public.dotnet.framework.performance
Hi all, is it possible to preload the .NET framework so that the first startup of my .NET application will speed up? I use a simple .NET windows form to present a login dialog. But it takes a while until all necessary .NET DLLs are loaded the first time. Thanks, Carsten
How expensive is casting? (4 replies)
microsoft.public.dotnet.framework.performance
Hello, I have some C# classes and in them I do a *lot* of casting. I think casting/polymorphism is the greatest thing since sliced bread (having been stuck with boring old VB for the last 2 years). Anyway, what is the cost of casting a derived type to its base, and vice versa? How exactly does casting do its thing? For example, say I create an array of System.Objects, but then initialize it with o...
Resource Usage on Windows ME (2 replies)
microsoft.public.dotnet.framework.performance
I have been developing a C#.net application on Windows 2000 and it's working like a charm. After testing it on windows ME, it runs for a while and then blue screens or blows away user.exe. It looks as if the clr never (or rarely) releases the system and gdi resources, and eventually win ME just dies. As another note, the memory is getting cleaned up properly. Any Ideas?
Access-denied with PerformanceCounterCategory.Exists (4 replies)
microsoft.public.dotnet.framework.performance
We are continuing to get access denied exception when invoking PerformanceCounterCategory.Exists. On a W2K SP2 system on which the category has never existed, when we test the existence of the category using: If Not PerformanceCounterCategory.Exists("RightTime:StatisticsLogger") Then ..... create it ....we get an "access denied" exception. However, if we use Server Explorer to manually create the ...
Add a new column to the beginning of an existing dataset? (3 replies)
microsoft.public.dotnet.framework.performance
I have a form with a button and a DataGrid which is bound to a DataTable that I create from scratch (i.e. no database). When you press the button it adds a column to the DataTable with the current time as the column's caption. My problem is that the new columns are added to the *end* of the DataTable's DataColumnsCollection and are displayed at the end of the DataGrid (where you have to scroll to ...
VB.NET form takes 8 Mo even if Empty ! (4 replies)
microsoft.public.dotnet.framework.performance
Hello ! It is normal that a an empty WinForm made with Visual Studio.NET ( VB.NET langu ) takes 8 Mo of RAM Memory at startup. ?? is it an issue of MS ?? Does any patch exist for this.. I remember in VB6, an empty winform was 50Ko or less... Thanks for you advice.. Simon Pierre
Ad
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification