| Peformance (23 replies) |
| microsoft.public.dotnet.framework.performance |
| Hi, My application is a small(as of now) windows application (just 4 forms and about 25 references including System namespaces). When I run the application, it simply consumes 35 MB of RAM I could see it in the Task Manager it just keeps on growing and by the time the first form is displayed( a simple form, about 4 5 controls), it had already consumed 21 MB. And when the next form is loaded, it is... |
|
| ASP NET serious perf. issues & shared functions (6 replies) |
| microsoft.public.dotnet.framework.performance |
| 2 issues wich may be related. ISSUE # 1. PERFORMANCE I have an ASP.NET (VB SQL Server 2000) application which suffers severe performance degradation with only 20 30 users. Pages are returned slower and slower, extending to minutes. To answer some of your possible questions: I close any db connection immediately after using it (in the same function). Database access is generally in shared functions... |
|
| Memory usage monitoring (2 replies) |
| microsoft.public.dotnet.framework.performance |
| All, I'm trying to check for memory leaks in my code. Currently, I'm using Process.GetCurrentProcess ().PrivateMemorySize to retrieve the memory usage. Is that correct? What about the memory performance counters for the Performance Monitor? Which counters will show me the amount of memory in use by the program. Thanks, Carl Schumaier |
|
| Array vs ArrayList (3 replies) |
| microsoft.public.dotnet.framework.performance |
| Is there a significant difference in performance between an Array and ArrayList? thanks, Aaron |
|
| Static Methods: Example of Bad practice? (5 replies) |
| microsoft.public.dotnet.framework.performance |
| I just ralized that I may have shot myself in the foot, so I'm looking for a reality check... If a class has a static method that accepts a parameter, what would happen to performance if the method was taking alot of hits under a heavy server load? Would this be a bottle neck? I'm thinking since statics are scooped to the class, that request to the static method would be synchronous accross ASP .N... |
|
| Problems with ADO.NET and SQLServer2000 (5 replies) |
| microsoft.public.dotnet.framework.performance |
| Hai.. We developed a .NET application( console application ) which continuosly queries the database(SQLServer 2000) and builds xmls from the result.( Exe takes the raw xml from the database and applies the XSL). It continuosly runs on the database and executes aroud 4000 queries and builds xml for each query result. We are using SqlConnection and SqlCommand objects. and we are using ExecuteXmlRead... |
|
| Is C# faster? (10 replies) |
| microsoft.public.dotnet.framework.performance |
| Hello I have a few questions regarding VB.NET vs. C#: 1. Case insensetive performance cost What are the costs of VB.NET being caseinsensetive, i assume this is handled when my code is compiled to MSIL so this will not have any effect on my overall performance, can anyone confirm this? 2. Backwards compability What are the costs of VB.NET maintaining the backwardscompability to VB6 (i.e. the Micros... |
|
| update failed (2 replies) |
| microsoft.public.dotnet.framework.performance |
| Dear All, Please help me with below ASP.Net progra. ... public dim ds as dataset public dim cn as SQLConnection public dim cmd as SQLDataAdapter public dt as datatable sub page load(sender as object, e as EventArgs) cn new SQLConnection("server '192.168.1.18';uid sa;pwd ;database dkord") cmd new SQLDataAdapter("select * from tmaterial order by inumber",cn) ds new dataset() cmd.fill(ds,"tmaterial")... |
|
| Dispose problem (2 replies) |
| microsoft.public.dotnet.framework.performance |
| Hi. How Dispose works? When I Load a Windows.Forms.Form in C#, memory isn t (free). I have an application MDI and 20 Windows.Forms.Form. When I create a new instance o one Form and then Close it, then memory isn t free, including DataTables with 100000 rows. Can any one help me, Please. |
|
| Critical .NET Framework garbage collection bug (memory usage grows and grows) (7 replies) |
| microsoft.public.dotnet.framework.performance |
| I have a problem with the garbage collection of the .NET Framework(C#): In all my application (I developed a Proxy and a Live Streaming application), big byte arrays are never destroyed correctly (Example below). I tried GC.Collect() and searched the newsgroups but I couldn't solve my problem. After I surfed for an hour through my Proxy, it has a memory usage fo 200 MB(!!!), because no Byte Array ... |
|
| Executing SP hangs local machine (2 replies) |
| microsoft.public.dotnet.framework.performance |
| I am calling a rather lengthy stored procedure from a VB app. The stored procedure builds a sales history table, and takes about 50 minutes to process. During this time, the local machine becomes totally unresponsive. Is this normal? If not, what do I do to keep this from occurring? If it is normal, why and is there a work around? optimally, I would like to have the form show a progress bar while ... |
|
| slow shutdown for .NET load probe? (2 replies) |
| microsoft.public.dotnet.framework.performance |
| My first ever C# program is a tiny console program (attached) that emits a tuple of performance info to stdout every two seconds. The program works fine, but behaves oddly when shut down with ctrl C: it stops printing results immediately, but doesn't return to the prompt. Eventually the prompt returns, but it can be 60 seconds later. In the meantime the console is unresponsive to ctrl C, ctrl D, c... |
|
| Monitoring Processor load (2 replies) |
| microsoft.public.dotnet.framework.performance |
| Hi, How do I monitor a process' load on the CPU? As known from the TaskManager. BR Emil |
|
| memory problem - DB (2 replies) |
| microsoft.public.dotnet.framework.performance |
| Hi, I found out that when I work with DB there's memory leak in the VS if my app is not closing the connetion (is it a known Bug) ? Guy korland ICQ#: 13596637 Current ICQ status: More ways to contact me |
|
| MSMQ : Exception sending messages to a MessageQueue (2 replies) |
| microsoft.public.dotnet.framework.performance |
| Hi, I have an application which sends System.Messaging.Message messages to a given MessageQueue in a multi threaded environment. All the threads use the same MessageQueue resource. I am able to send a few messages and a few result in an Exception as described below : Exception : Specified cast is not valid. at System.Messaging.Interop.MessagePropertyVariants.Lock() at System.Messaging.Message.Lock... |
|
| First request to a VDir is slow. (2 replies) |
| microsoft.public.dotnet.framework.performance |
| Hello. We have some 80 .dlls in foo\bin. The first request (after IIS restarts) to a page in foo is served very slowly. This seems to be consistent with the fact that 'IIS copies every dll to a cached place before execution starts'. In fact the first request response time seems to linear in the number of referenced dlls. Is there anyway to speedup this first response? We know its unrelated to jitt... |
|
| Performance in Redimensioning Arrays (3 replies) |
| microsoft.public.dotnet.framework.performance |
| Hi, In VB6 you could quite easily redimension an array using the following code: Dim SomeArr() as Long Redim SomeArr(5) as long Redim Preserve SomeArr(10) as long technically this still works for VB.Net, but it's appallingly slow I'm guessing this code might be routing through some crappy compatability library/interface... is there a better ".Net way" of redimensioning an array? I've looked throug... |
|
| .NET array performance (5 replies) |
| microsoft.public.dotnet.framework.performance |
| A lot of people have been using large arrays / Collections to test .NET performance. Most of the test wer just examining the machine memory speed. eg have a look at the speed to copy byte arrays ( copying 4 bytes at a time : ) ). count is the size of the array Array is Array.Copy Buffer is Buffer.Copy Unsafe is a pointer array copy see below look at table below Now note maximum performance is arou... |
|
| Serious performance issues (15 replies) |
| microsoft.public.dotnet.framework.performance |
| I have some Windows forms in an application we are constructing and performance is just plain horrible. So much that I may be forced to go back to VS 6. It is control intensive, but most suprising is the speed of the COM interop in conjunction with a dataset to display data in a commonly used com control called FlexGrid. It take to write out 300 rows X 40 columns more than 15 seconds on a P3/1Ghz ... |
|
| Poor compiler optimisation (12 replies) |
| microsoft.public.dotnet.framework.performance |
| I have just been looking at the JIT compiler optomisations ( admitidly in a very kludgy way) and they do not look anywere near as good as the C ones. In particular I dont seem to see any loop unrolling or inline methods . eg Class Math { int Add(int a , int b) { return a b } Math.Add(a,b) will run much slower than doing it yourself but then you lose a lot of object functionality. I am even more co... |
|