| COM+ Application ReCycling For Memory Leaks ? (2 replies) |
| microsoft.public.dotnet.framework.performance |
| Hi, I have a Client Server Application which uses .NET Remoting. The Server side objects are hosted in COM as a Server Application on Windows 2003 Server[COM 1.5]. After running the application for about 1 1/2 to 2 days, I notice that the DLLHOST is taking about 1 GB and the Server crashes giving a SystemOutOfMemory Exception. I am wondering if COM Application Recycling is a solution to this probl... |
|
| Strange Behavior (3 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| The following are results from running a test on an application we wrote. Our application loads many DLLs into memory (about 15). Before we load the DLLs everything runs fine, but after loading them the overall speed of the application dives. Is this because of VM, if so, can I force DotNet to use physical memory if availible? [before loading many DLLs into memory] Ticks: 937470 | Seconds: 0.09374... |
|
| Design question for the WebService Experts... (13 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| Hypothetical Question... If I knew I had a service that will provide 100 web methods and I know that they could be grouped into (e.g., 5) logical namespaces. Would it be better to 1) Create 5 webServices and connect to them all to invoke all the needed web methods or 2) Create a single WebService and call all the methods I need. While option 1) makes more sense from a logical and design (purist) p... |
|
| yielding cpu (5 replies) |
| microsoft.public.dotnet.framework.performance |
| I am writing a process that is a tight loop that consumes alot of cpu. Back in my VB days I could use "DoEvents" to periodically yield control to the OS incase there were any pending events. This would keep the app from being able to effectively take over the system. What is the equivilant in C#? |
|
| Buffer Pooling? (7 replies) |
| microsoft.public.dotnet.framework.performance |
| Hi, I'm writing a server that is using asynchronous IO. I need this server to be scalable and fast. But how do I implement the send and recieve buffers in an efficient way? If I just allocate the memory on the fly, there's no way to explicitly free it up, so all of these large buffers will be floating around until the GC runs. This might be okay for 100 or so connections, but 1000? I don't think i... |
|
| Avoiding Memory Leaks, debugging, measuring Performance (6 replies) |
| microsoft.public.dotnet.framework.performance |
| Hi All, I am involved in the designing a Thick Cleint Server application(employing Win Forms). I am faced with the following issues: a) Handling / Avoiding Memory Leaks b) Performance Checks c) Debugging Can anyone send me resources/urls on 'the best practices' to follow in terms of the above issues. What tools/functionalities are provided by MS in view of the above and any good third party tools?... |
|
| Collection filling weird behavor (6 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| Hi, I noticed a very weird behavor with the collection class. With exactly the same code, filling a collection takes usually around 4 seconds, but sometimes, it takes 60s ! for absolutely no apparent reasons. I've tried this on a bunch of computers, everytime, I notice the same inconsistency in the time for filling the collection, but it is always either 4 seconds, either 60 seconds ... I'm really... |
|
| ThreadPool Disabled? (2 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| I can't seem to get an answer on this. I'm using asynchronous IO with BeginSend and BeginRecieve calls on a socket. But when I stress test the server, only one thread is processing every thing! I've verified this use a process explorer that show thread activity and only one thread is actually dong anything. Shouldn't I see several threads since Async calls utilize the thread pool? Mike |
|
| Load Balancing (4 replies) |
| microsoft.public.dotnet.framework.performance |
| If I have 2 Win2K servers with an ASP.NET app loaded on them, using IN PROCESS state management, does IIS look to the machine.config file to get the machinekey, or does that only happen in OUT OF PROCESS state management scenarios? The reason I'm asking is because we have had developed for us an ASP.NET app using IN PROCESS state management, and when trying to use a hardware load balancing solutio... |
|
| Network Usage per Application (2 replies) |
| microsoft.public.dotnet.framework.performance |
| Hi I'm interested in finding a tool that lets me view the network usage of individual applications (and possibly even sub processes). I'd also like to log this data. Features might include: Bytes sent/received over a given network interface Logging ability Subprocesses that are transmitting data Shows application name and path I found http://www.netlimiter.com, and also something called NetPeek. T... |
|
| Profiling native images (7 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| Hi. My profiler code needs to profile some of the Framework libraries, and so the contents of the native image cache need to be changed. I would really like to be able to just do a "ngen.exe /prof mscorlib.dll" and then have this version or mscorlib picked up when profiling (and when not profiling, have the defeault native image loaded). However, this does not happen, and it appears that I need to... |
|
| High CPU utilization in socket use (2 replies) |
| microsoft.public.dotnet.framework.performance |
| In our application I need to detemine if there is a internet connection valid. So I build a windows service which every minute creates telnet connection against some host and port. If I do connect to this host I know that internet connection is OK. The problem: after few days CPU usage growing up to 50% for this service. After restart it's problem gone for another 2,3 days. This is a code: public ... |
|
| Performance hit on creating GUI programmatically (9 replies) |
| microsoft.public.dotnet.framework.performance |
| I'm building a form by adding and positioning controls programmatically, rather than using the form editor. The problem is that there is a perceptible delay when executing Form.Show(). I've checked using ANTS profiler, and the delay seems to be in System.Windows.Forms.Control.get Handle() 0.18 seconds and System.Windows.Forms.NativeWindow.Callback() 0.11 seconds. The form has 19 controls on it, an... |
|
| Testing Tools and Benchmarking Tools (2 replies) |
| microsoft.public.dotnet.framework.performance |
| Good day. Can anyone recommend some good tools for Web Application Testing? I am using Visual Studio .Net 2003 and has written a web application for an online ticketing system. I wish to utilize some testing tools to test the following: System performance and Transaction time. Benchmarking report Stress Test Concurrent Test I have tried DevPartner from Compuware but it was not support for concurre... |
|
| aspnet_wp.exe process recycling (2 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| (Type your message here) In one of our production servers, the aspnet wp.exe is getting recycled 3 or 4 times a day and users are experiencing performance problems due to high memory usage. but it is not happening on other servers. any clue? also any help on finding memory leaks will be appreciated. From: John Posted by a user from .Net Guru (http://www.dot-net-guru.com/) Id GiKpk5EPT0OyNIviwEldhQ /Id... |
|
| Precompiling (2 replies) |
| microsoft.public.dotnet.framework.performance |
| Hi NG! I've a question about precompiling my Windowsapp. When should I use ngen for optimizing performance? If I have 6 dll's which are referenced by my Application, do I have to use ngen over them? How much faster will my application be afterwards? Thanks Stefan |
|
| Simple Q: SqlParameter.Value and Boxing (2 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| In the following code, when I assigned a ValueType to the Value of a SqlParameter, it gets boxed: System.Data.SqlClient.SqlCommand Cmd new System.Data.SqlClient.SqlCommand("T SQL HERE", Cn); Cmd.Parameters.Add("@my id", SqlDbType.Int); Cmd.Parameters["@my id"].Value prmMyId; //Boxing happens here. Is there any way around this? |
|
| Large Object Heap allocations (3 replies) |
| microsoft.public.dotnet.framework.performance |
| Hi All, Just a quick question to clarify my understanding of heap allocations: If I have an application that never allocates a managed object (via the new keyword) that is greater than 85k bytes in size, then that application should never have a large object heap size greater than zero? (say if I was monitoring it via perfmon, for example) Using the .NET Memory Profiler, is there any way to determ... |
|
| How does the DataView.Sort method really work under the covers? (2 replies) |
| microsoft.public.dotnet.framework.performance |
| How does the DataView.Sort method really work under the covers? I know that it sorts a dataview, but what kind of sorting algorhythm is actually used? Thanks. |
|
| Process.GetProcesses(remoteMachineName) (3 replies) |
| microsoft.public.dotnet.framework.performance |
| Hi all, I want to get the list of active/running processes on some remote machines in the same LAN my application run. I always get a System.InvalidOperationExpection exception with the message of "Couldn't get process information from remote machine". I run my application under the administrator user account. Do you know where I am wrong? |
|
| Performance, scalability: Session storage or DB calls? (11 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| Hello All, Myself and some other architects are debating a performance / scalability issue regarding high availability & load sites and we thought we'd ask the experts: Is it more performant to: 1. Store user data, activity, state, profiles in the Session space and capture this to database using the events onSessionStart and onSessionEnd? or, 2. Make a (or several) ADO.NET call on each page load? ... |
|
| Slow Startup (2 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| I am finding that .NET applications seem to take a while to launch the first time after a reboot. Even small applications take a considerable time to open when first launched after a reboot. Once they have been launched once, subsequent launches are much faster (2 to 10 times faster, depending on the application). I've attached two executables: "HelloWorldCPP" and "Hello World WinForm". In my test... |
|
| Thread Pool AvailableThreads is always 25 (5 replies) |
| microsoft.public.dotnet.framework.performance |
| Hi, I've been getting some poor performance out of an asynchronous IO socket server, so I put up a form that polls the available worker threads in the thread pool and it never seems to leave 25. I'm polling 2 times a second. Am I doing something wrong? I'm using System.Threading.ThreadPool.GetAvailableThreads(out wt, out cpt) and both variables never change by more than 1 number and the server is ... |
|
| Memory leak in .NET services on Windows 2000 (3 replies) |
| microsoft.public.dotnet.framework.performance |
| We appear to have identified a memory leak in the .NET Framework using a service running on Windows 2000 platforms. Using the .NET Development Environment we have created a standard C# Windows Service and added a FileSystemWatcher and a Timer object. When the timer fires (every 30 seconds), the FileSystemWatcher is temporarily disabled and this causes a significant memory leak on Windows 2000 plat... |
|
| AverageTimer32 goes zero (2 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| Hello, This might not be a error but I'm asking anyway. I got a service that handles transactions and I'd like to create a performance counter showing the total average time for one transaction. I've created two performance counters (AverageTimer32 , AverageBase) and got them to work. In my transaction function a calculate a TimeSpan (runningTime) for the complete transaction and call: new Perform... |
|