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 > january 2004

Filter by week: 1 2 3 4 5

Memory hogging?
Posted by Peter de Vroomen at 1/30/2004 4:55:58 PM
Hi, I have built a server application in VS.NET 2003. This application is a mix of managed and unmanaged code (don't know if this has anything to do with it). It uses I/O Completion Ports with thread-pooling to service client-requests. Now, when the server is running and servicing requests,...more >>

Usage of Connection pooling: What are the best practices?
Posted by Mithun Verma at 1/30/2004 2:32:59 PM
Hello All, I am working on a windows application which will talk to the database through the Web services. So i need to enhaance the performance, for which i m using connection pooling. I want to use pooling at the Web services end and not the default SQL server pooling. ...more >>

Using mscorsvr.dll
Posted by Pranav Nabar at 1/29/2004 2:49:01 PM
Hi, We have implemented a windows service in C# supposed to deployed on the Windows 2000 server on a multiproc machine. However I found that, by default, mscorwks.dll is loaded. What changes do I need to make so that mscorsvr.dll os loaded as the runtime? Thanks, Pranav. ...more >>

TCP/Binary Remoting and Perf Problems
Posted by Raghu at 1/29/2004 11:13:39 AM
Our deployement consists of web server (dual processor) and application server (dual processor). The ASP.NET web application makes remoting (Tcp/Binary) calls into a window service (our own) hosted on application server. During our load testing, we found that there is huge gap in time during cro...more >>

Embedding Shdocvw zaps performance. Are there managed replacements?
Posted by jason NO[at]SPAM jasonthomas.com at 1/29/2004 7:51:05 AM
I'm currently re-writing the GUI of my application to improve speed, reduce memory consumption and startup time, and make it prettier. I currently embed msie to show a basic informational page. But this takes 9 meg of RAM and about 3 seconds to instantiate. This is unacceptable. I need to du...more >>

aspnet_wp.exe CPU 100% General Measures?
Posted by Christopher at 1/26/2004 12:06:05 PM
Hi there, several of our ASP.NET apps started to slow down recently quite a bit and we noticed the aspnet_wp.exe process taking up 100% CPU time. I have heard a little on the hotfix available for the memory issue but after applying it, it did not seem to take care of the CPU time problem although i...more >>

Optimising Lockbit Routine??
Posted by sam NO[at]SPAM samdavies.co.uk at 1/26/2004 4:58:22 AM
Hi, I'm having some problems getting the required speed for a small app i'm currently writting. I rewrote the getPixel() fucntion that i thought was my orginal bottle neck, but i'm still taking 5-6 minutes to calcualte the score of around 6000 points. Does anyone have any suggestions as to ot...more >>

Threading issue
Posted by paulg at 1/23/2004 6:55:38 PM
hi I am new to dot net. The problem I am having now is that I would like a thread to feed data from database to a arraylist at background and at the same time I want to display the objects in the arraylist in a form. The brief code is: private ArrayList CustomerList; public Form_Load(...more >>



Ngen'ing assemblies during install
Posted by Stephen at 1/23/2004 4:30:27 PM
We're looking at improving the performance of our application by ngen'ing our assemblies. As I understand ngen must be run post install as it is specific to each pc's configuration. I've created a batch file to do most of these steps, all I need to do is find some way of getting the location o...more >>

Crystal Reports Problem: Please reply ASAP
Posted by Mithun Verma at 1/23/2004 9:20:26 AM
Hello All, I have a Windows application that uses Crystal Reports 9 (bundled Version) developed using VS.NET 2003 on a windows server 2003 m/c. The application has to be deployed on the client machine that has Windows XP installed. Before deploying we make sure that .NET framework 1.1 is insta...more >>

Slow application shut down
Posted by Carel Lotz at 1/22/2004 4:26:06 AM
Hi We've been experiencing some slow shut downs on our Windows .NET Desktop application. On further investigation, it turned out that the virus scanner was scanning a *.ini file for our application that is created within the Local Settings\Application Data\ApplicationHistory folder. Over time t...more >>

Performance Tools
Posted by Paul Williamson at 1/21/2004 11:56:50 AM
Hey Folfs, I am new to dotnet and ASP, and have been challenged with supporting an ASP.NET application with a SQL back end. Any tips on how I can monitor and or tune performance in general for dotnet or ASP? CHeers' PW ...more >>

PerformanceCounter handle leak
Posted by Jerry Pisk at 1/20/2004 4:49:35 PM
I was wondering if someone came across a handle leak when using PerformanceCounter class. My code comes down to doing this: PerformanceCounter Counter = new PerformanceCounter("CategoryName", "CounterName", "InstanceName"); CounterSample Sample = Counter.NextSample(); // Dump the sampl...more >>

Getting data from clipboard is very, very slow and eats a lot of memory
Posted by Mr. huihui at 1/20/2004 2:36:09 PM
Here is my code IDataObject iData = Clipboard.GetDataObject() GridData gd = new GridData() Type myType = gd.GetType() if (iData.GetDataPresent(myType) GridData data = iData.GetData(myType) as GridData data.display(dlen-2) ...more >>

Internet Explorer toolbar definition file
Posted by Myron at 1/20/2004 12:57:43 AM
I am getting an error "Failed to parse toolbar definition file" each time I load Internet Explorer in XPP. Can anyone suggest how I can restore that file. Thanks in advance....more >>

ASMX pages / WebService Apps and ASP.NET Thread Pools
Posted by Howard Hoffman at 1/19/2004 10:29:35 AM
[This is a re-post of an item on microsoft.public.dotnet.framework.aspnet.webservices in an attemp to generate discussion] An ASP.NET Performance and scalability related question. Given there are a set of 25 ASMX pages that stand independently (and that don't call each other), all running o...more >>

FIX: Programs that use the .NET Framework may experience a high memory condition
Posted by cd_mackenzie NO[at]SPAM hotmail.com at 1/19/2004 9:10:58 AM
Has anyone been able to get ahold of this Hotfix? If so, how? http://support.microsoft.com/default.aspx?scid=kb;en-us;833610 I tried to go through the Request Online Help system, but there is no option for .NET or .NET frameworks. Also, has anyone used the NuMega Devpartner product succ...more >>

slow network performance in directory.getfiles
Posted by Marcel at 1/19/2004 12:11:57 AM
Hi All, I'm getting big diferences in local versus network performances. When I use Directory.GetFiles of DirectoryInfo.GetFiles on a local path with some 11.000+ files, it executes under 4 second. When I do the same over a network (UNC and mapped) it takes a whopping 126 second. I've also te...more >>

memory location of static variables?
Posted by trnospam NO[at]SPAM earthlink.net at 1/18/2004 9:51:33 PM
Does anyone have any insight into how .NET physically stores static variables? In a performance critical section of my application, I'm considering caching some often calculated values where there is a high probability of input values remaining the same between successive calls. The cost of...more >>

Performance Counters for remote servers
Posted by kris at 1/14/2004 9:30:15 PM
Hi, Is there a way to collect multiple performance counter values simultaneously for each remote server? I am writting a service that collects performance counter values from approximately 100 servers periodically. I am storing the required counters for each server in the database and retr...more >>

Memory Usage
Posted by Stephen at 1/14/2004 2:31:02 PM
I've heard that the memory usage displayed in the task manager for a .net application includes the cost of the CLR, and that even though the CLR is shared by .net applications, each application will have the cost of the CLR added to its memory usage in task manager. Can anyone confirm/deny thi...more >>

Windows Service = Hog
Posted by Matt Pallatt at 1/14/2004 2:19:14 PM
Not sure if this is the right place to be asking this, but i have a very simple windows service app, which essentially emails the host machines IP to a set email address at a set period. This application takes up a whopping 16 megs or memory when i run it, and i wondered if this is natural. Re...more >>

I need fastest way to store some point values
Posted by Crirus at 1/14/2004 10:06:38 AM
Hello I have 512x512 grid of booleans At a specific point in my application, I need to find out if a particular point in my grid have value true of false. Now I need a way to store the boolean value for each coordinates in my grid. I found some methods: 1. I could have a 512x512 BitArray...more >>

GDI performance problem or am I going wrong?
Posted by Abhishek at 1/13/2004 10:53:47 PM
My objective is quite simple. I want to display a JPG image and then on it overlay a polygon. This polygon can be moved by a user. The even is trapped on the mouse down event of the control. I can make the polygon move but the screen flickers because I call invalidate() on the mouse down event. I...more >>

a decent explanation of Dispose() and DisposeObject() please??
Posted by Andrew at 1/13/2004 5:33:02 PM
Hi there, I have a class which is derived from ServicedComponent. The instances do not support JITA, nor do they require any transactions. Each pooled object holds a few references to expensive resources. My usage is as follows: - Get an instance from the pool - Execute method1 - Exec...more >>

Performance of String.Format
Posted by michael at 1/13/2004 2:17:04 PM
After cursing VB.NET for not having any easy way of using inline variables in strings, I finally discovered the wonders of String.Format(). My only concern is: how much can I abuse it? For example I iterate through a loop about 20 times and each time I execute a SQL statement that uses 22...more >>

Garbage collector self tuning
Posted by Jon Shemitz at 1/11/2004 10:27:12 PM
Can anyone point me to a reference (besides Petzold) that talks about how the gc self tune works? He suggests that a high rate of surviving allocations indicates that the thresholds are too low, and that the gc will raise the thresholds, to give allocations more time to go stale. This makes...more >>

array question
Posted by Marcel van der Gragt at 1/11/2004 5:44:55 PM
Hi, Can anyone give me a elegant solution to the folllowing: I'm using IO.DirectoryInfo("c:\") and the Folder.GetFiles and Folder.GetDirectories methods to get arrays of io.directoryinfo() and io.fileinfo(). But when traversing the tree, I want to attach those array to each other, so I wil...more >>

Fastest way to reset a big array
Posted by Crirus at 1/9/2004 9:07:31 AM
Can you tell me wich reset methods for array is faster? redim, clear or a for loop? -- Cheers, Crirus ------------------------------ If work were a good thing, the boss would take it all from you ------------------------------ ...more >>

aspnet_wp lock web server
Posted by angelo.paolella NO[at]SPAM jobiz.com at 1/9/2004 7:05:54 AM
I have a problem with aspnet_wp process in my web server IIS 5.0, because more process aspnet_wp remain in memory and use no cpu time, but use a large quantity of memory. The .net framework that I use is ver. 1.1 and i have installed the service pack 2. I have read that there are some proble...more >>

CLR Profiler
Posted by aiax at 1/8/2004 4:45:56 PM
I have a .NET 1.1 web app written with VB.NET, importing 5 VB.NET custom assemblies. Can the profiler be used to examine this application? I have tried running profiler to Profile ASP.NET, and it stops and restarts IIS and a msgbox comes up telling me it is waiting on ASP.NET to invoke/start th...more >>

Optimised XML Parsing?
Posted by Kev Sherratt at 1/8/2004 3:59:21 PM
I'm currently looking into processing (relatively small) portions of some xml files; the problem I have is that some of the files are quite large and memory usage jumps about 20MB. You can achieve similar results something like the mscorlib.xml file for size. Is there an optimal, forward onl...more >>

Worker Process Restarts counter
Posted by Ashish at 1/7/2004 2:27:12 PM
hi All, got a quick one ! when does the Worker Process Restarts counter is reset , is it when the machine resets or is it when the IIS resets ? thanks -ashish ...more >>

Desktop .Net Application
Posted by Tom at 1/7/2004 1:39:34 PM
Hi Everybody Can anybody show me a successful desktop (not web service or internet) .Net application in the market (from famous and big companies) Regards, Tom ...more >>

Asynchronous Socket BUG - System.Net.Sockets.OverlappedAsyncResult.CompletionPortCallback
Posted by Marshall Brooke at 1/7/2004 1:15:02 PM
I have a client and server which communicate via ascynchronous sockets. If I am sending a large file from the client to the server and I just kill the client app during mid transfer (either by closing the form or just killing the process) the server then kicks up an untrappable error in "...more >>

asp.net on production sites
Posted by Ashish at 1/6/2004 2:25:16 PM
we are running about 30 very low volume sites on our production server and we are using dual 2.4 ghz /4GB RAM machine and .net 1.1, IIS6.0 the problem is that the MS documentation says that we can use /3GB switch and make the worker process recycle at 1.8 or 2g instead of 750mb we tried i...more >>

performance of a Classes vs Structures ?
Posted by Andrew at 1/6/2004 12:53:14 PM
I need to store a very small amount of information which is to be passed as a parameter to various methods. Assuming that I don't need inheritence and that the class would simply contain properties (and no methods), would I better off using a stucture or a class from a performance point of view? ...more >>

CounterSample class
Posted by kris at 1/5/2004 11:48:32 PM
Hi, I would like to know what type of counters can be retrieved using PerformanceCounter class's NextValue() method and what type of counters require CounterSample class's Calculate() method to accurately measure the performance counter value. Kris...more >>

inline compilation across assembly?
Posted by trnewsnospam NO[at]SPAM earthlink.net at 1/5/2004 8:58:19 AM
I was wondering on the breadth of optimization with .NET JIT compiler. Let's presume I have an assembly of static classes - mostly helper functions. Some of these functions may be very small (small enough that the optimizing compiler would inline them). If I have another assembly that refere...more >>

Need more information on CounterSample.Calculate
Posted by kris at 1/2/2004 11:55:39 AM
Hi, I would like to know whether or not CounterSample.Calculate method calculates the performance values based on formulas outlined in MSDN for each counter type. For example as per MSDN, if the counter type is Timer100NsInverse, the formula should be (1- ((N1 - N 0)/ (D 1 - D 0))) x 100...more >>

Release Virtual Memory?
Posted by David at 1/2/2004 10:28:00 AM
Hi, I need to know how to free up virtual memory allocated for the application because it does not seem to be freed up enough. At some point, system runs in low virtual memory and cripples the system. I created a test C# winform application with a few buttons. (The test program was just...more >>


DevelopmentNow Blog