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 > march 2005

Filter by week: 1 2 3 4 5

I am having the excat same problem
Posted by Sameer Handa via .NET 247 at 3/31/2005 2:15:24 PM
So I am wondering about Mike's response=2E Do you guys think a= virus scanner could have something to do with high CPU usage=2E = Because I have a app sitting on a server listening for stuff=2E = As a request comes in it parses the request and creates a SQL= report=2E Anyway, the memmory u...more >>


DLL in VB6 versus DLL in VB.NET
Posted by Chris Zopers at 3/30/2005 10:51:03 PM
Hello, I would like to know the following: In VB 6 I could create a dll file, place it on a server and register the dll file on each client computer, so all client computers know that the dll file is on the server. This way, I could make small changes to the dll, without having to reïnstal...more >>

Fastest time counter
Posted by Onur \ at 3/30/2005 12:03:06 PM
Hi DateTime.Ticks is very slow I use it but it is updated 64 times in a second. I think performance counter is the fastest counter but I could not use it for elapsed time. It is complicated. are there any counter that updates faster and simple coding? ...more >>

Reading web config files
Posted by sahridhayan at 3/30/2005 1:15:03 AM
We have an application develped in asp.net whcih supports multiple database the database type is stored in web.config file.. But my BL layer componenet only need to know dbtype.. so what are the best ways of storing the db type and reading it.. 1. web.config. 2. Remoting config 3. or any...more >>

Win2003 Web Edition Serving ASP.NET pages painfully slow...
Posted by ROBERT SEDOR at 3/29/2005 12:00:32 PM
I have a Windows 2003 Web Edition box which has asp.net and asp pages = both accessing serviced components. The components don't seem to run = slow, but the pages which are written in asp.net are rendered painfully = slow. Any suggestions? Thanks, Rob...more >>

How to do blocking UDP receive w/o socket.poll (for performance)
Posted by Dekel at 3/29/2005 4:55:09 AM
Need - stream data from a UDP source Problem - While trying to do blocking receive we are using Socket.Poll(....) but according to ClrProfiler the call to Poll allocates about 1.5 MB per minute which causes extensive GC activity. How could I have the best performance on UDP reading in term o...more >>

ClrProfiler keeps waiting
Posted by Zeng at 3/28/2005 6:31:24 PM
I'm running ClrProfiler for the first time to profile my web app, and it keeps getting stuck at this msg box: "Waiting for Asp.net to start common language runtime - this is the time to load your test page." even after I launched my app and aspnet_wp.exe is running. I found some old post, a pe...more >>

In my production IIS server w3wp.exe service Count increasing day by day in task manager
Posted by Seetarami Reddy Gandra at 3/27/2005 11:32:46 PM
Hi All, I am maintaining one small web site and concurrent users less than 20 only(win2003/iis 6.0). In my production IIS server w3wp.exe service Count increasing day by day in task manager. If it continuous like this, one day server will hang up. why t he ideal work processes not ge...more >>



C# & GC
Posted by Maxim Kazitov at 3/27/2005 11:05:58 PM
Hi, I create application which transform huge XML files (~ 150 Mb) to CVS files. And I am facing strange problem. First 1000 rows parsed in 1 sec after 20000 rows speed down to 100 rows per sec, after 70000 rows speed down to 20 rows per sec ( I should parse ~ 2 500 000 rows). For me it ...more >>

Growing Working Set Size on GUI App
Posted by John Stephens via .NET 247 at 3/25/2005 2:26:54 PM
(Type your message here) -------------------------------- From: John Stephens Hi Naill, Did you ever determine what the cause of the memory retention= your app? I'm writing a =2ENet add-on to a MFC app=2E The clr heap= always stays small (1-7MB), and I have most of the code NGen'ed= and ...more >>

Collection sorted on last accessed object
Posted by vani.murarka NO[at]SPAM gmail.com at 3/25/2005 9:37:02 AM
Hi Everyone, Does .NET offer any collection class which will give me objects last *accessed* such that I may build a least-recently-used cache that kills off objects that haven't been used for awhile? Or is there any other way to implement this kind of a cache / collection where one can do ...more >>

Performance with DataSet: suggestions for best practices?
Posted by Chris Zopers at 3/25/2005 1:00:40 AM
Hello, I've developed a lot of database-systems in Microsoft Access. Now I'm going to develop a large system in VB.NET. Before I start, I'm testing some performance differences between MS Access and VB.NET. When I connect to a large table (more than 100.000 records) from a database with MS Ac...more >>

4 qns
Posted by t bsa via .NET 247 at 3/23/2005 8:19:06 PM
Can you please help me with these questions. 1. I have a static method in a class. This method may be simultaneously called by 2 or more classes. What will happen? 2. Two users are trying update a record in database. First user has updated the database. The second user does not know it. He is ...more >>

String manipulation in VB.NET
Posted by Sylvain Fortin at 3/23/2005 6:05:02 PM
Hi everyone, My application is written in VB.NET and will run on a SmartPhone. My problem is that my application is making too many string copy (String.Substring(...)) which is slowing my application. Example of what the application has to do: oSize = oGraph.MeasureString(strValue.Subst...more >>

Async operations taking 100% of CPU
Posted by Edgardo Rossetto at 3/22/2005 9:14:36 AM
I'm in need to download big files using async operations, I've done my implementation based on this example: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemnethttpwebrequestclassbegingetresponsetopic.asp im facing the problem that after 1-2 seconds the...more >>

copy datatable
Posted by Sitar at 3/18/2005 4:35:02 AM
Hi, In my quest for performance, I come up with another question... There is no DataTable.Copy() with CF and I need to do that. So I came up with my own implementation which is as follow: public static DataTable DataTableCopy(DataTable dtOriginal) { DataTable dtCopy = dtOriginal.Clone();...more >>

ASP.NET Handlers hitting disk
Posted by testtester at 3/17/2005 10:57:04 PM
I have an application that uses HTTPHandlers to calculate the response to send back to the user. The handler handles all calls to *.test and is working fine. Observed: In FileMon, I was surpised to see the w3wp.exe process trying to find *.test files on the disk. Expected: It seems like ...more >>

Need to monitor a process
Posted by Al Cadalzo at 3/17/2005 9:23:01 PM
I need to write an app in C# that monitors several processes and sends an alert via e-mail when any of those processes goes over a certain CPU usage. The process I need to monitor are all instances of the same console app. Any help getting started would be appreciated. Thanks. ...more >>

scalable state-management
Posted by John Grandy at 3/17/2005 11:39:30 AM
Could someone point me in the direction of good discussions on scalable state management solutions? Specifically, pros and cons of following strategies: Strategy 1 : temporary business-objects are implicitly stored in RAM, "permanent" business objects are explicitly stored in SQL-Server ...more >>

strange performance of nested virtual methods
Posted by mail.mv NO[at]SPAM arcor.de at 3/16/2005 3:18:04 PM
I wanted to decorate the features of a base class by declaring a virtual method and deriving a new class, which overrides this method. As I implemented this I found a strange performance behavior, that occours as soon as I start nesting this concept. I call this "strange performance behavior" be...more >>

Use switch with singleton objects
Posted by cody at 3/15/2005 11:58:31 AM
Why can't we use switches with singleton objects? I know that the compiler cannot optimize them like constant values but the same is true for strings and they are allowed in switches. The reason is that I often use singleton classes as replacement for enum's because enums does'nt provide me a ...more >>

Fixed Length file to Database perfomance issues
Posted by Alex at 3/15/2005 8:27:03 AM
Hi! I'm trying to read a fixed length text file, get the information for each field from an XML file that describes the length of each sequential field, and them put them in SQL database. Here's what I'm doing thus far: 1) Generate a new command object with same name parameters as defined in...more >>

Can not read Instances of custom Performance Counters
Posted by W1ld0ne74 at 3/15/2005 3:31:04 AM
I am implimenting Performance counters into a web application. I use the following code to create the counters during setup: private void SetupPerfCntrs() { System.Diagnostics.CounterCreationDataCollection CounterDatas = null; System.Diagnostics.CounterCreationData cdCounter4 = null; try ...more >>

Very slow code...
Posted by ?BOT at 3/15/2005 3:00:59 AM
Why is the following code so slow? I have a listView that must refresh it's processes data every 3 seconds. However, this sometimes goes beyond 5 seconds and crashes the application. I have tries multi-threading, also ListView.BeginUpdate + EndUpdate(), but the code is sooo slow. Try it for your...more >>

.NET and 64 Bit
Posted by cody at 3/14/2005 5:17:37 PM
On a pure 64Bit processor, will .NET be slow because int is always 32bit, regardless on which platform it runs? Or does the jitter internally propagate the int to an int64? In the C/C++ language they made the size of int platform dependent just for that reason. Am I right with these assumptions...more >>

can i use datatable in place of dataset and fill it by dataadapter if yes then how
Posted by surender singh via .NET 247 at 3/13/2005 10:45:50 PM
can i use datatable in place of dataset and fill it by dataadapter if yes then how-------------------------------- From: surender singh ----------------------- Posted by a user from .NET 247 (http://www.dotnet247.com/) <Id>BIC5PiXID02lbqQcXdvrZA==</Id>...more >>

Performance
Posted by Shabam at 3/13/2005 9:57:15 PM
I have an application that allows for searches, but it appears when I stress test it with 50+ users the CPU utilization on the MS SQL server machine is hitting 100%. The machine is on RAID SCSI, running on 4GB of memory and dual AMD Opteron cpu's. I can get a more powerful machine, but not sure...more >>

Errors on Stress Test
Posted by Shabam at 3/13/2005 4:03:20 AM
I'm getting the following 2 errors randomly when doing a load test on a web application's search engine. As far as I know, there isn't writing to the DB involved when doing searches, so I'm at a loss of why this occurs under load. I'm not the programmer, but this doesn't seem right. Can someon...more >>

w3wp.exe High CPU Utilization
Posted by mcollier at 3/10/2005 8:58:24 PM
I am experiencing high CPU utilization with my ASP.NET application. The w3wp.exe process uses 75%-80% CPU for about 10 seconds. I notice this when the application first starts up, which I can partially understand since ASP.NET compiles the application on the first access. However, I also notice...more >>

Why does a DataSet need to have a finalizer?
Posted by Raghu at 3/10/2005 1:53:58 PM
I am assuming that data set (through its base class) may need to have finalizer defined for typed data set. If this is the case, what is the justification for penalizing the code that does not use typed data set? If this is not the case, I would appreciate if any one can post a convincing respon...more >>

Single Instance Performance Counter
Posted by Don at 3/10/2005 8:41:06 AM
Hi, Anybody know why when I create a single instance performance counter, PerfMon shows the instance names as "systemdiagnosticssharedsingleinstance"? Code sample is below (I've also tried using the named instance overload of the PerformanceCounter constructor and leaving the instance name ...more >>

Another arraylist cleanup question
Posted by Dotnetbeginer NO[at]SPAM gmail.com at 3/8/2005 10:27:21 PM
I have a class AddressBook, with string variables. public class AddressBook { int ID; string name; string address; string email; /* Addressbook functions */ } And in another class i fill arraylist adressList with object of AddressBook. for(int i= 0;i <100; i++) { AddressBook addr...more >>

DataSet and GC.SuppressFinalize
Posted by Raghu at 3/8/2005 5:49:09 PM
We are having issues with DataSet and related objects. They are staying in the memory for too long. When we started investigating the problem, windows debugger (windbg) showed that they are in the finalization queue. This surprised us as we were not aware that they have finalizers defined. The...more >>

aspnet_wp.exe process taking up 100% of the CPU
Posted by Rob Gatte at 3/7/2005 12:48:08 PM
Hi, i'm running a website with multiple ASP.net apps on the boxes, we are running into a situation with our servers that handle the asp traffic spiking to 100 % cpu traffic. This is not happening during peak times and the aspnet_wp.exe process seems to be the problem child. I have SP 3 for .ne...more >>

Measuring memory shared between processes
Posted by Santiago at 3/7/2005 11:19:01 AM
Hi all, I'm trying to measure the amount of memory shared between two instances of an application. So far, I can't measure any sharing whatsoever and I'm suspecting that I'm either measuring wrongly or that there is no sharing at all. Here are some details: * I am measuring by recording the ...more >>

Limit system download speed
Posted by Max Larabie via .NET 247 at 3/7/2005 11:01:27 AM
Hi, I'd like to know if there is a way to limit the overall download speed of the system. For example, setting the maximum bandwidth to 500kbps (50kb/s). Is this possible using the performance counters or in any other way using .NET ? Thanks -------------------------------- From: Max Larabie ...more >>

Slow LDAP Query
Posted by Kenneth H. Young at 3/7/2005 8:49:54 AM
I am working on a LDAP add-in for Outlook and I am having = performance issues. The query is exceedingly long to the point the = add-in is not usable. Below is the code any help will be greatly = appreciated. ;-) Thanks, _________________________________________________________________...more >>

Long running Async Socket IO
Posted by Stelrad Doulton at 3/6/2005 6:23:57 PM
Hi all, I have a server application we may be hosting 1000+ client sessions so I want to avoid the "thread per client" model to avoid thread thrashing, memory overhead etc etc. At the moment I have a thread per socket that simply sits on the blocking Recieve to read and parse incoming da...more >>

Use of Hash Tables to Compare Record values of the DataSet
Posted by Almannan at 3/5/2005 9:42:12 PM
Almannan MK Hai, I have to compare the values of the dataset before being edited and after editing. so can any body guide me How can I Compare the Record Column values before and after editing Thanks for Your Concern. ...more >>

what's the cost of casting an object to an interface
Posted by maxx at 3/4/2005 1:07:08 PM
in relation to number of interfaces that object implements. I have a weired design idea that needs classes to implement a lot(say tens) of interfaces. I an wondering how .net searches for the right one when an object is cast to an interface in the runtime. Is it a linear search, a binary se...more >>

HttpWebRequest in .Net Framework 1.1
Posted by Dzianis Davydzenka at 3/3/2005 5:41:57 PM
Hi there! I have a task: validate huge amount of URLs from DB. To accomplish it I'm using synchronous HttpWebRequests and accordingly HttpWebResponses. I had implemented multi-threaded utility that sends SYNCHRONOUS requests in each thread and wait for responses. I realized that .NET Fra...more >>

Async WebService client: Memory usage
Posted by Philipp Schumann at 3/2/2005 11:11:44 PM
Hi, we have a client application polling an ASP.NET XML WebService every 2 seconds (a simple method call, passing two strings, a long, and an enum, which returns a string array). When using asynchronous calls (so as to not to have the user interface hang during transmission), working-set...more >>

Memory leak because of fragmented Large Object Heap?
Posted by Zeng at 3/2/2005 9:34:50 AM
I'm reading this article http://msdn.microsoft.com/msdnmag/issues/1200/GCI2/default.aspx the part I found interesting is "Garbage-collecting Large Objects: There is one more performance improvement that you might want to be aware of. Large objects (those that are 20,000 bytes or larger) are a...more >>


DevelopmentNow Blog