Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!


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 2004

XMLDocument.Load vs Session
Posted by Neil at 3/30/2004 11:31:07 PM
Hi I'm overloading the onInit event in my custom page class and checking the requested Id in the Url is present in my XML file and also checking a couple of attributes for that Id. I'm using the XMLDocument.Load method and the SelectSingleNode method to check for my Id. I'm wondering whether it wo...more >>


Memory Leak asp.net/iis6/windows 2003/sql2000
Posted by jzink at 3/30/2004 4:06:07 AM
Just implemented a production system using asp.net, iis6, sql2000 running on windows2003. Due to the iis6 settings of recyclying worker process every "n" minutes I didn't pick up during testing that there is a memory leak with the app. Narrowing it down even the following code causes a memory leak...more >>

Thread.Suspend() results in CPU peak
Posted by Hagay Lupesko at 3/29/2004 2:21:33 PM
Hi, I've encountered an interesting case: My program implements a classic scenario in which a worker thread iterates over a queue, dequeues elements, perofrms operations on the elements and so forth. When the queue is empty, the thread calls Suspend upon him self, and when the queue is refille...more >>

foreach vs. for
Posted by cody at 3/26/2004 10:36:54 PM
Why is it that given int C = 13000; int[] n = new int[C]; foreach (int i in n) foreach (int j in n) { tmp+=i; tmp+=j; } is significantly slower than for (int i=0; i<n.Length;i++) for (int j=0; j<n.Length; j++) { tmp+=n[i]; tmp+=n[j]; } ? -- co...more >>

Problem with a Socket server program opening/accepting many connections and the GC is running.
Posted by Phillip O at 3/26/2004 5:23:22 PM
Hello, I have checked all the groups and messages and cannot find this situation: I have created a synchrounous (and Asynchronous as a test) servers that are listening on port 11000 and ready to take a new connection. (this is test code for a DNS handler) I created the Listener socket, th...more >>

Crystal Report Object Memory Issue
Posted by david at 3/26/2004 5:05:29 PM
Hi All, I can't believe .NET memory management is such a mess. I prefer to use old way to release memory. Now, I fix all memory leak in my Windows GUI Applicaion except some one related to Crystal report. It's so weird. On same report, sometimes memory release is OK, sometimes doesn't ...more >>

Exception whille creating custom performance counter
Posted by Andreas Remsperger at 3/26/2004 5:46:05 AM
Hi @all when I try to create a cutsom performance counter from my ASP.NET application I get an exception calling me, that the requested registry acces is not allowed. ASP.NET process is running as machine account Also trying to run some samples from KB, with my local account (Power User), faile ...more >>

Performance issues on different servers.
Posted by Thomas Pettersen at 3/25/2004 10:38:41 AM
Hi! We have a strange problem that we've been trying to solve for some days. We have an application where we have our own custom objects filled with data. We're doing a lot of looping / removing and creating of objects in a specific function. When I run this on my laptop it takes about 1,7 ...more >>



Problem in the Performance counter
Posted by Anand at 3/24/2004 1:41:12 PM
PerformanceCounter processorUtiliz processorUtiliz = new PerformanceCounter("Processor","% Processor Time","_Toal") string myValue = processorUtiliz.NextValue().ToString() In this the processorUtiliz.NextValue() is always giving me a value 0.0. Could some body please help me why it is not giving...more >>

Creating BSP tree
Posted by Morten Nielsen at 3/23/2004 6:34:20 PM
I'm trying to generate a Binary Space Partion tree. All the code-examples that I have been looking at, all use C pointer, malloc() etc, which is pretty hard to convert to C#. I have created my own Create_BSP function, but its slooooow and very memory consuming, when the tree-depth gets above aro...more >>

Page faults
Posted by ali at 3/23/2004 5:00:02 PM
Hi, We are experiencing a huge page faults and virtual memory in task manager after working a few hours with an application developed by VB.NET uses web services . This causes an extremely slow down in the application respond. Any way I could control this problem? I called the following ...more >>

Tradeoffs? requestEncoding & preventing "Canonicalization" attacks
Posted by Chris Mohan at 3/23/2004 11:46:08 AM
Hi While flipping through the ms book "Improving Web Application Security: Threats & CounterMeasures" I came across a recommendation for preventing/reducing the threat of canonicalization attacks. The book (offhandedly)suggested that one way to address this threat is to change your web app's defau...more >>

Window GUI application Memory Issue
Posted by david at 3/22/2004 5:20:27 PM
Hi, I have a windows gui application. It has performance problem. It runs well at morning. But in the afternoon, System becomes slower then extremely slow until you restart the computer. I use .NET memory profiler to trace it. I find Generation #2 keeps growing, never decreases. I call "dis...more >>

Virtual Memory Minimum Too Low: Your system is low on virtual memory...
Posted by franknewsgroups NO[at]SPAM yahoo.com at 3/19/2004 9:37:40 AM
When I run stress tests on my .NET application, after several hours I often get a Windows dialog box that appears in the System event log that states the following. "Application popup: Windows - Virtual Memory Minimum Too Low: Your system is low on virtual memory. Windows is increasing the si...more >>

Tool for SQL Tuning
Posted by chen at 3/18/2004 1:31:08 PM
Hi Apart from tuning tools/wizards offered within MS SQLSERVER, are there any good third party tools for SQL tuning in SQLSERVER Thank chen...more >>

webGarden setting for multi-processor machine
Posted by Vishal Gupta at 3/18/2004 12:05:16 PM
Hi, We are running our application on a dual-processor machine. Now, it seems, by definition, a multi-processor machine is a Web Garden. I guess this would imply that the WebGarden attribute of processModel in Machine.config, needs to be set to "true"? Here's my comements/questions pertaining ...more >>

ComVisible attribute's impact on performance?
Posted by Bryan Dyck at 3/18/2004 10:48:33 AM
Can anyone tell me if there is any performance impact on a class that is running in a pure .Net environment that has implemented the ComVisible attribute versus the same class that has not implemented that attribute? Kind regards, Bryan ...more >>

'Server Application Unavailable'
Posted by aquafoil at 3/17/2004 5:11:11 AM
error message; need hotfix. How do I obtain it?...more >>

Fw: Strategy for Sorting in UI
Posted by M. A. Naveed at 3/16/2004 6:08:39 PM
well i'm having almost the same problem. I'm displaying page wise records in an aspx page. (DNA archecture using enterprise service and remoting) Suppose the user has requested to see data from the customer table. The customer table may contain 100 or even thousands of records, and I do not wa...more >>

Why MC++ is faster then C# ?
Posted by Gawelek at 3/16/2004 12:29:52 AM
I made some benchmarks and MC++ is much faster then C#. They should be compiled to the same TYPE of code and therefore their performance should be +- equal. Can sombody explain me this thing ? -- Gawel ------------------------------- Pierwszy ³yk z pucharu nauk przyrodniczych czyni ateist±...more >>

String Performance Query
Posted by Glenn at 3/14/2004 7:56:05 PM
Hi I'm currently porting a reporting engine from ASP site to ASP.NET 1.1. Part of this functionality produces an html version of the report and saves it to the file system The original ASP logic broke the html output up into managable strings (one per report section) and appended these to the f...more >>

Directory query speed
Posted by Marcus L. at 3/12/2004 12:46:08 AM
hi I have a query to a LDAP directory which is supposed to get a list of records to be displayed in an ASP.NET page There is not many of them, almost 3 dozen. But the query is rather long, too long for a web page indeed Is there a way to optimize such queries Thank Here what I'm doing ldsSe...more >>

Caching often-used SQL queries
Posted by Shabam at 3/10/2004 8:46:37 AM
Suppose in a .net application a user sees his homepage, which includes many elements the requires sql queries. Each user sees a different homepage obviously. Executing these queries every time a user goes to his homepage is obviously going to drain a lot of systems resources, especially since ...more >>

My problem? or a Garbage collector problem?
Posted by Anibal Acosta at 3/9/2004 10:17:59 AM
I have a Console Application that run as Server Application, the application run perfect but after 5 hours aprox. the memory (Phisical and Virtual) increase too much making the OS inestable and producing the tipical "Out Of Memory" Windows Message box. So, I create I timer that every 10 minute...more >>

Strange behavior during appdomain unloading
Posted by Ice at 3/9/2004 7:52:02 AM
Folks - I am observing some weird behavior in our application during shutdown, let me see if I can explain this clearly. Lets say I open 2 instances - A and B - of the application on my machine. Regardless of what order I shutdown the instances, the process associated with A always takes lo...more >>

Enterprise Templates and Inherited Forms using 1.5 Gig of Memory
Posted by Chris Langston at 3/4/2004 1:31:21 PM
have an Enterprise Template using a Policy file that I'm experiencing some strange behavior with. I've racked my brain through the news groups and all the examples off of MSDN, but can't seem to locate the what's causing my problem. We are building an enterprise application, with various typ...more >>

Sluggish Visual Studio Startup and Runtime
Posted by Norm Katz at 3/4/2004 11:13:00 AM
I have a P4 1.7 GHz with 768 MB DRAM running XP Pro. I've been using Visual Studio .Net 2003 with Framework 1.1 for about a year. About 2 months ago my Visual Studio began loading extremely slowly and running sluggishly in general in many areas including editing source, starting and stopping d...more >>

Memory leak?????????????????????
Posted by lrabinovich NO[at]SPAM yahoo.com at 3/3/2004 3:56:03 PM
Hi, I've got a memory leak, or something that looks like one. In order to recreate same problem open a C# Windows application project. Add a UserControl (MyUserControl) to your project. Add a button and timer to the form. Add following code to your form. Make sure to bind button1 with the Cl...more >>

help with interpretation of perf data for a slow app
Posted by Vishal Gupta at 3/3/2004 3:10:28 PM
Hi, We have an asp.net web application that starts to perform poorly with about 12 concurrent users. I went through the process of collecting the relevant performance counters and am trying to sort out what i am seeing. The web server is a 2 CPU machine with 1 GB RAM. Our application is the on...more >>

Parent.ProcessName causing "No Disk" error
Posted by jerry.lawrence NO[at]SPAM unisys.com at 3/3/2004 11:53:59 AM
I have a C# program which needs to determine how it was initiated. If it was initiated by the command line or from being double-clicked in Windows Explorer than I want to display errors in message boxes. However, when I check parentProc.ProcessName, I get the "No Disk" error (this is on syste...more >>

Shared member - performance
Posted by Sriram at 3/2/2004 7:01:08 PM
Hi We are using general DAL class for all common DB routines. That class has many shared member functions which can be called without instantiating the class. My questions, in a multiuser environment, as there is no instantiation involved for this class, how the function calls are processed? Will ...more >>

.NET, ActiveX, & my journey into IL Hell...
Posted by Larry.Nixon NO[at]SPAM ftb.ca.gov at 3/2/2004 6:53:22 PM
I was tasked to build a .NET/C# server-side application that'd answer calls from a modem bank & allow Zmodem uploads. I was given Sax's SaxComm8 ActiveX component (already paid for & not much else out there handles Zmodem; also, new Sax.NET framework STILL doesn't offer Zmodem support yet). ...more >>

pinned data and garbage collection
Posted by trnospam NO[at]SPAM earthlink.net at 3/2/2004 7:44:58 AM
Does anyone have any detailed insight on how pinned data for unsafe code really affects memory allocation and garbage collection over the life of the application? I know that pinned data cannot be moved in a garbage collection. So, if a garbage collection occurs while some code is inside a un...more >>

The Big Question...
Posted by Terry Mulvany at 3/1/2004 8:10:35 PM
I am constantly struggling with the problem of what 'type' of application to develop. WinForm or WebForm? The customer says I need a central database for all sites but the sites are geographically disperse limited to DSL Internet access (VPN solution not an option due to huge support burden). ...more >>

investigating unmanaged memory
Posted by Vishal Gupta at 3/1/2004 5:51:57 PM
I was looking at some performance counters related to my application. The private bytes comes out to be around 110 MB and the #Bytes in Heap, around, 24 MB. This would indicate that about 86 MB is being taken up by unmanaged memory. Our application does interop to a few COM objects. How can i pee...more >>

Max number of assemblies/clases in GAC
Posted by Raghu at 3/1/2004 7:50:43 AM
Is there a limit for number assemblies or number of classes that can be hosted in GAC? Could some one please comment on this? Thanks. Raghu/.. ...more >>


DevelopmentNow Blog