Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008


all groups > dotnet performance > february 2005

How to access Locals, Autos...programmatically?...
Posted by G.Ashok at 2/28/2005 11:26:06 PM
Hi All, I'm posting this again! How can I can access all of the debugger aids (like Autos, Locals, Me (This), MemoryLists, Threads, Modules, Register) programmatically? I want to use them in my program to log the exact picture of the error and its condition like the values of the each var...more >>

VB Conversion Keywords And .NET Conversion Routines
Posted by rawCoder at 2/28/2005 8:14:56 PM
Hi, Just wanted to know if there is any speed difference between VB conversion Keywords like CInt, Clng, CStr, CDbl, CBool etc. ..NETs Convert.To<...> methods. And which is better to be used and why ? Thanx rawCoder ...more >>

HttpWebRequest Memory Growth
Posted by Tobin Harris at 2/27/2005 10:43:34 PM
Hi there, I am writing a web spider that uses the HttpWebRequest class to fetch web pages. I noticed that each time my program fetches a page, the memory of the application increases. Reading past posts on this group, I can see that others have had similar issues, and I've done everything I...more >>

Why no serious MS Application in .NET yet ??
Posted by Herr Lucifer at 2/25/2005 9:01:53 PM
As the founder of .NET framework, Microsoft claims that it invention will be the next best platform for programming in a near future. Now it is 2005, ..NET is 5 years old, and can talk and walk for himself with some help of his mum. However, we see the same native office applications are coming ...more >>

Error in .net framework
Posted by WoodbineRhino at 2/25/2005 10:03:19 AM
I have no idea what this means can someone help me? Server Error in '/' Application -------------------------------------------------------------------------------- The conversion of char data type to smalldatetime data type resulted in an out-of-range smalldatetime value. Description: An...more >>

Profiling Tool
Posted by rawCoder at 2/24/2005 9:22:31 PM
hi, I would like to profile an application using some tool in such a way that i dont want to add any probe code in the application. And I am also interested in knowing the lines of codes that are hit/run most of the times and also the lines of code which took most time in execution. ( as it...more >>

Performance Counters, Instances and Perfmon
Posted by Neil Moss at 2/24/2005 12:17:20 PM
Hi group, I cannot get my performance counter instances to appear in perfmon. Can someone at MS provide a definitive mechanism for how to do this please? I am writing a web service which may be installed multiple times on the same server under different web sites. Thus I want instance info...more >>

Reflection.Cache
Posted by Questionner at 2/22/2005 4:21:01 AM
I know that the Code I’ve written will sound silly to some of you, and maybe it is. I am planning to change it. ANYWAY ;-) I do create and Initialize *a lot* (+-5000) of object (that not-quite incidentally, are also different classes). To do that I use extensively reflection .GetMembers()...more >>



Threading streams
Posted by ben at 2/21/2005 8:33:32 AM
I need to write an app that monitors 1000+ sites every 5 minutes to see if they're still up. I'm using the code below (extracted from a larger generic http class we use) to do this. I launch each process as a new thread because, if you give a site 5-10 seconds to time out, doing 1000+ si...more >>

Strange behaviour with .NET apps with Framework 2.0
Posted by cody at 2/18/2005 1:53:04 AM
I have installed the Whidbey CTP Beta2 and now I have strange behaviour with all .NET apps (also programs which were copiled with .NET 1.0 version): If I close a .NET program regularly using the close os exit button my computer does not respond/is frozen for say ten seconds. I cannot even ope...more >>

memory leak when using Timer control and sleep
Posted by LZhao at 2/17/2005 4:09:01 PM
Hi, We have find memory leaks when we tried to use timer to raise event at specified interval. The OS we use is: Windows XP Professional Version 2002, service Pack 2, IDE is: Visual Studio .NET2003. Microsoft .NET Framework 1.1, version 1.1.4322 SP1. To repeat this problem, 1. creat ...more >>

Performance Counters zero for ASP.NET
Posted by MattC at 2/16/2005 12:11:05 PM
I have trie to add the following counters to a server (W2K3 IIS6.0): ASP.NET ASP.NET Applications ASP.NET Apps v1.1.4322 ASP.NET v1.1.4322 I have also added Process, Web Service and .NET CLR Memory The last three work fine yet all my ASP.NET counters are permanently set at zero. I r...more >>

Performance counter and average value display
Posted by omtslug NO[at]SPAM yahoo.se at 2/15/2005 12:44:42 PM
I'm trying to measure call time for some methods and want this to be displayed in the performance monitor. I wan't the average time to be displayed and it should 'stabilize' the more calls that are made but it goes down to 0 when not called. Is this always the case that average timers go to ...more >>

GC Thread causing aspnet worker process to crash?
Posted by Etrast at 2/15/2005 9:53:07 AM
I have a situation where it looks like the GC thread is causing the aspnet worker process to crash with eventID 1000 (process stopped unexpectedly). This is happening only in the dual xeon boxes in our farm. The app runs fine in the pentium boxes we have in the farm. I created a dump file usin...more >>

Creating Collections in Classes
Posted by Anonymous at 2/15/2005 8:21:01 AM
Hi, can someone give links either in msdn.microsoft.com or other sites that tell me what are the best ways to create Collection properties in a class written in Visual Basic.NET? Eg., say I create a Class that instantiated allows you to get a property of collections: Forms.Controls, TreeV...more >>

Constants slower than array properties?
Posted by WXS at 2/14/2005 8:27:02 PM
In the code below the for loop using items.Length seems to run faster the majority of the time compared the the for loop using the constant MAX_ITEMS. Why? I'm pretty sure in C++ this wouldn't be the case. When comparing assembly code the C++ compiler optimized that compare down to about 4 c...more >>

Strange allocation pattern under heavy load
Posted by krrios NO[at]SPAM runuo.com at 2/13/2005 2:01:35 PM
Our application is a mature game server built over async sockets. It has been in development and active use for around two years. With its growing popularity, there's been one nagging performance problem rearing its head. Our software is set up on quad Xeon 2.4ghz processors with 4gb of memor...more >>

First vn.net app to launch takes ages
Posted by glenn.mantle NO[at]SPAM bt.com at 2/11/2005 2:45:54 AM
anyone know why it is that my first .net app that i launch takes a long time , but then all subsequent apps to launch load at a normal speed. are base classes being loaded into memory first time round , can i run a command to do this at logon so that the first app i launch doesn't take so loi...more >>

Virtual Bytes growing for asp.net process
Posted by Etrast at 2/10/2005 2:29:04 PM
We are having a problem with our dot net app in production. The virtual bytes of the aspnet worker process keeps growing and after a certain point, the app starts throwing outofmemoryexceptions. At this point we have to recycle the worker process to process any further request. A little bit mo...more >>

Common Component Deployment Options
Posted by Mansoor Siddiqui at 2/10/2005 6:51:04 AM
Hi all, I have a common component that will be used from many applications in my organization. There are different ways to host that component, such as: (1) As COM+ application on a server (2) As a shared assembly in GAC on every machine (3) As a remoting component hosted in IIS (4) As a ...more >>

Instatiated Objects
Posted by Don Stewart at 2/9/2005 3:52:12 PM
From within a .NET 1.1 application and using C# Code, I need to get a list of all the instatiated objects in the application, with the following columns: TypeName, Instatiation-Count, Size I was thinking of using the Garbage Collector somehow or perhaps a Heap and Stack Dump? Usi...more >>

Behavior of IL executing?
Posted by PanAndrey at 2/9/2005 12:41:05 AM
Hi, I have tested executing performance of some function C# and got next result: after executing 1: 44522 after executing 2: 46916 after executing 3: 56582 after executing 4: 42973 after executing 5: 3 945 after executing 6: 6 277 So, you can see that after executing '4' perfor...more >>

Problem with Socket Performance
Posted by Amal at 2/7/2005 1:29:07 PM
Hi All, I'm writing a server app that receives requests from a client through tcp/ip and generates a response back. Now i'm using asynchronous sockets so that i can keep listenening for other connections while requests are being handled. The problem i have is that it takes approximately 250...more >>

Latest SOS.Dll & "!eeheap -gc" command
Posted by Raghu at 2/6/2005 10:33:18 PM
I have down loaded the latest Debugging Tools for Windows and used ".load clr10\sos.dll" to use the latest SOS.dll. When I issue following command: !eeheap -gc the following output shows: ****** Number of GC Heaps: 4 ------------------------------ Heap 0 (0x000ceb48) generation 0 ...more >>

asynchronus programming in C#
Posted by venk at 2/1/2005 9:05:02 AM
I have a main trhead which can call a method of another object asynchronusly and my main thread will not wait for that call and it will do its own work. now its working fine for single asynchronus call. i have 100 records in access table. 1. i have an object which can run a specific functio...more >>

saving string array to disk
Posted by Nikolay Petrov at 2/1/2005 3:18:37 AM
I have a string array, which I need to save to a file. The array may grow to thousands of elements. My question is what is the fastest way to save it as text file? The StreamWriter accepts String as parameter, but converting the array to a single string takes a lot of time (by using a For loop a...more >>


DevelopmentNow Blog