microsoft.public.dotnet.framework.performance Archive - April 2004
Post a message to this list
Messages
Page: 123
MSCORSVR.DLL/.NET v1.1 with Windows Service (13 replies, VIP)
microsoft.public.dotnet.framework.performance
Hi , My deployment box is going to be a dual proc and I want my application[Windows Service] to take advantage of the dual processor capabilities. For this the MSCORSVR.DLL needs to be used by my Windows Service. How do load a Windows Service with MSCORSVR.DLL ? I have seen the documentation talk of CorBindRoRuntimeEx API. Can someone tell how do I use it for a launching a Windows Service ?? And I...
'Server Application Unavailable' (4 replies)
microsoft.public.dotnet.framework.performance
error message; need hotfix. How do I obtain it?
Tool for SQL Tuning (2 replies)
microsoft.public.dotnet.framework.performance
Hi, Apart from tuning tools/wizards offered within MS SQLSERVER, are there any good third party tools for SQL tuning in SQLSERVER? Thanks chen
Application Center Test Configurations (2 replies)
microsoft.public.dotnet.framework.performance
We are trying to test our ASP.NET application using ACT. We have a few questions regarding the configuration. We would like to configure 50 users per test client box and we are having 4 client boxes in total hitting one development web server box(in future it would be increased to a web farm with nlb). Client box configuration Windows 2000 Advanced Server with SP4 CPU 4 at 2400 MHz and 2 GB RAM Se...
XMLDocument.Load vs Session (2 replies)
microsoft.public.dotnet.framework.performance
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 would be better to store the XML document in the session state rather than use the load method each tim...
aspnet running off with memory (3 replies)
microsoft.public.dotnet.framework.performance
We've just moved our application onto two brand new blade servers, 2.6ghz the works...with the thought that the old server was our problem. It turns out that our new load balanced servers if left alone will have the same problem. Basically we have one webservice which takes one xml document, transforms the document and saves the result to an oracle database within the organisation. This functional...
Creating BSP tree (7 replies)
microsoft.public.dotnet.framework.performance
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 around 20. Does anyone have any C# optimized tree creating code (preferable for a BSP tree) that I could ha...
ComVisible attribute's impact on performance? (2 replies)
microsoft.public.dotnet.framework.performance
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
Tradeoffs? requestEncoding & preventing "Canonicalization" attacks (3 replies, VIP)
microsoft.public.dotnet.framework.performance
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 default request and response encoding settings within the web.config file. The default setting, defined in...
Crystal Report Apply (2 replies)
microsoft.public.dotnet.framework.performance
Hello, I have CR report compiled in exe... in runtime do following command: Report.SetDatabaseLogon(sUser, sPwd, sServer, sNastaveni.Database) i cant really understand why that statement cost 16 seconds !!! thanks for yoour help Pavel KOHOUT Advantage Solutions, Ltd. www.advantages.cz
webGarden setting for multi-processor machine (3 replies)
microsoft.public.dotnet.framework.performance
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 to the two WebGarden scenarios: a. WebGarden "false" 1. This would mean that the aspnet worker process is ...
Performance issues on different servers. (6 replies, VIP)
microsoft.public.dotnet.framework.performance
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 seconds to do the whole operations (it's about 4500 objects filled with data). When I do it on my customers c...
Crystal Report Object Memory Issue (3 replies)
microsoft.public.dotnet.framework.performance
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 work. I monitored it using .NET Memory profiler, it showed the unreleased objects were referenced by: 1. Namespace...
Enterprise Templates and Inherited Forms using 1.5 Gig of Memory (5 replies, VIP)
microsoft.public.dotnet.framework.performance
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 types of projects Solution BusinessLogic Common DataAccess WinUI UIBase UIUser Everything in the templates for ...
How to fix Big Red Cross on the screen (10 replies)
microsoft.public.dotnet.framework.performance
Hi All, I have a .NET application written by C#. It works fine in the most time, but sometimes, once or twice a day, there are red cross on the screen. The position of red cross is the position of visible object, like button, datagrid. But the application still works, and when it comes back the same screen next time, there is no red cross any more, every thing show normally. It has haunted me for ...
Page faults (5 replies, VIP)
microsoft.public.dotnet.framework.performance
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 method in a few places to control the memory. Is this may cause the problem the page faults and virtual memory t...
String Performance Query (4 replies, VIP)
microsoft.public.dotnet.framework.performance
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 file. This was done as string performance in ASP (ie concatenation) was VERY SLOW when the size of the s...
Growing Working Set Size on GUI App (7 replies)
microsoft.public.dotnet.framework.performance
I know there have been a lot of posts in relation to GC, working set, trimming working sets, minimizing forms, etc. I've read every one I can find, but have not found a solution to my problem. The closest I ever found was the thread here recently "GC does not release memory... memory keeps growing". We have a GUI app on a client site, which is being used under Citrix by up to ~100 users at a time....
Many concurrent users of site using XPathDocument and XslTransform objects efficiently? (2 replies)
microsoft.public.dotnet.framework.performance
Hi all, I've just finished writing a website using aspx pages (with VB behind) and it seems to be working adequately, except that I anticipate that it will become fairly slow as the number of concurrent users (up to possible 1000) start using it no surprise. However, now my job is to try to ensure the efficiency of the code before it is deployed. The foundation of the entire site is the use of XMl...
System.Data.OleDb.OleDbException: System resource exceeded. ERROR (2 replies, VIP)
microsoft.public.dotnet.framework.performance
I have a loop to create instances of my user control at run time, for example: for intPageCounter 0 to intNumberOfPages dim objUser as new MyUserCtrl objUser.getProducts() Panel1.Controls.Add(objUser) next The method "getProducts" connect to Acces 2003 DB every time and get DataReader containing required data. After a while this error message appeared: System.Data.OleDb.OleDbException: System reso...
Thread.Suspend() results in CPU peak (3 replies, VIP)
microsoft.public.dotnet.framework.performance
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 refilled, the filler calls Thread.Resume. Everything works fine, except the fact that the process running the app...
Problem in the Performance counter (5 replies)
microsoft.public.dotnet.framework.performance
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 the calulcated value thanks
Virtual Memory Minimum Too Low: Your system is low on virtual memory... (7 replies)
microsoft.public.dotnet.framework.performance
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 size of your virtual memory paging file. During this process, memory requests for some applications may be deni...
Why MC++ is faster then C# ? (29 replies, VIP)
microsoft.public.dotnet.framework.performance
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 , ale na dnie pucharu czeka Bóg. Werner Heisenberg
Simple properties not inlined? (15 replies, VIP)
microsoft.public.dotnet.framework.performance
Hi, I have made some tests on Properties vs Public fields... I have created a Matrix structure (value type) and I have made the following test: public static void Main(string[] args) { Matrix matrix Matrix.Identity; PerformanceTimer timer new PerformanceTimer(); timer.Start(); for(int i 0;i 100000000;i ) { float test matrix.M22; } timer.Stop(); Console.WriteLine(timer.ElapsedSeconds); timer.Reset(...
Ad
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification