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 > october 2004

Customer performance counter which tracks the duration of a proces
Posted by ejstembler at 10/29/2004 11:00:03 AM
Is there a PerformanceCounterType I can use for tracking the duration of a process? For instance, something like this: counter.ProcessBegan; myProcess(); counter.ProcessCompleted;...more >>


profiling tool to show references to an object
Posted by Ales Pour at 10/26/2004 1:14:20 PM
Hi, is there a tool that is able to show references to given object? CLR Profiler shows me who allocated it, but I'm unable to find out why it survives gen 0 collection without seeing who keeps reference to the instance. Thank you very much. Regards, Ales ...more >>

How to copy n paste .asp files to Solution Explorer and have it show up there?
Posted by Jason Robertson at 10/23/2004 12:09:44 PM
Hi, I have just installed Visual Studio.net 2003 Enterprise Architect. I have been using Visual Interdev so far, and I am used to be able to select from a desktop bunch of .asp files, drag and drop them into a Project Explorer window and have it show there as a tree of files. Is there some se...more >>

Stumped: What Garbage Collector?
Posted by Billg_sd at 10/21/2004 4:29:01 PM
This n-tier .Net 1.1 WinForms app I'm working on starts at about 37 MB on startup, As I use the app: view crystal reports, perform queries, load various forms it grows to over 250MB! It eventionally becomes so slow & unresponsive (due to thrashing) that you have to exit the app & restar...more >>

Scale out
Posted by Shabam at 10/21/2004 3:15:57 PM
I have a dotnet application that allows users to upload images. These images are stored in separate folders like this: E:\images\{first 2 letters of user ID}\{3rd and 4th letter of user ID}\{user ID}\user-image.gif This is to prevent overloading of too many files in one particular director...more >>

profiling webservice client - horrible results
Posted by Ales Pour at 10/21/2004 12:03:15 PM
Hello. I've tried to profile ws client with CLR Profiler and I'm surprised with results. Calling simple method which echoes string that was sent to it 1000 times causes allocation of 33 MB (ok, not a big deal ;-) ), what is worse that over 8 MB was rellocated (most of them byte arrays and s...more >>

String Immutability & StreamReader
Posted by Paul Nations at 10/21/2004 11:57:41 AM
Since strings are immutable, isn't this code: Dim sr As StreamReader = New StreamReader("TestFile.txt") Dim line As String Do line = sr.ReadLine() Loop Until line Is Nothing causing the string object 'line' to be constantly ...more >>

No 'const' references or methods
Posted by Christopher Wells at 10/21/2004 10:44:14 AM
How do you deal with the lack of the "const" qualifier in .NET? For example, I have a class which contains as member data a huge XML tree: public class MyClass { System.Xml.XmlDocument m_xml_document; } I want to have an accessor, that lets users of this class *read* the document bu...more >>



Best way - Dataset+cache or XML+cache or javascript ?
Posted by newyorkbombay1 NO[at]SPAM yahoo.com at 10/21/2004 6:56:47 AM
I am trying to find the most efficient method for designing. We have several pages with dependent dropdowns. Currently what we do is whenever user selects item in one dropdown then we go to the database to re-populate the values in the second and third dropdown. And when user selects the second ...more >>

Question on Garbage Collection
Posted by Prasanna Padmanabhan at 10/19/2004 7:31:41 PM
In a simple .NET application, I create a Hashtable that add 1000 entries to it. In Task Manager, the memory usage for the .NET process spikes up (understandably). I now remove all the 1000 entries from the Hashtable. The memory usage does not go down. I understand this also. This is because ...more >>

Can't create performance counter instances
Posted by Nick Bennett at 10/19/2004 5:41:01 AM
I've managed to create a performance category with a single counter in it. I then try to create instances of this counter, but when I go into perfmon, I can't see any instances. And the category itself says it hasn't got any instances when I call GetInstanceNames() on it. What am I doing ...more >>

request
Posted by chachan cc via .NET 247 at 10/17/2004 3:02:56 AM
(Type your message here) Plz explain vb.net connection with oracle? -------------------------------- From: chachan cc ----------------------- Posted by a user from .NET 247 (http://www.dotnet247.com/) <Id>pN0ENFXXO0ydbe049LygQg==</Id>...more >>

Should I pass/hold DataRow or use Class?
Posted by John Mark Howell at 10/16/2004 2:24:34 PM
I hope someone can provide some insight here. I'm trying to determine the best method of retaining and passing around data that has been read from the database. One thought is to Inherit From DataRow and provide type-safe methods, another is to create a dummy class that has nothing but publi...more >>

Printing automation help
Posted by Martin Lawrence at 10/14/2004 7:37:34 AM
I am looking for a way to automate some of my printing tasks, which I would be able to do if it were not for this problem. I have a directory (which I know the name of). In this directory is a bunch of subfolders (which I DON'T know the name of- unless I actually open the main directory). Each o...more >>

Serious Performance, can .NET handle it?
Posted by Cablito at 10/13/2004 10:47:23 AM
I want to write a HTTP proxy with C#, but I am unsure if it will scale; I need to handle at least 5000 simultaneous users per server. The servers can be MP with 2GB ram, that isn´t the issue. I will be filtering the http streams for keywords, so there is a processing load there. ...more >>

*URGENT Reducing time/performance hit on system (ADO/XML)
Posted by Alex at 10/13/2004 7:29:03 AM
Hi! I have a slight problem with my application. In short, it goes to database (Oracle) executes a view, returns on an average less than 1000 records. Then my app has to read an xml config file that describes how each column should be formated before outputed to a text file in a fixed length ...more >>

compact managed heap
Posted by Frank Samuel at 10/11/2004 5:14:15 PM
Hi, I've got an application, which has the following performance counters: ..NET CLR Memory\# Total committed Bytes = 12 MB ..NET CLR Memory\# Bytes in all heaps = 2,5 MB. This means, that about 10 MB of memory is not used, but allocated. Due to memory limitations I would like to let the mana...more >>

How to switch on register optimization for JIT-compiler by default?
Posted by John Demigor at 10/11/2004 4:12:02 PM
Just installed .NET Framework 1.1 and VS.NET 2003. Wrote a simple = program: [DllImport("kernel32.dll")] public static extern int GetTickCount(); int a =3D 0; private void someMethod()=20 { a =3D a + a; } private void button1_Click(object sender, System.EventArgs e) { int ...more >>

System.Net.ScatterGatherBuffers.MemoryChuck allocates large byte[]
Posted by lwickland at 10/8/2004 10:07:03 AM
Summary: System.Net.ScatterGatherBuffers.MemoryChuck allocates inordinately large byte[]s when sending large post data. The following application consumes inordinate quantities of memory. My code does not explicitly allocate memory in a loop nor does it explicitly allocate large blocks of ...more >>

passing ArrayLists to DB
Posted by Ken at 10/7/2004 11:03:01 AM
Hi, I have to pass large objects (class intances) to SQL 2000 DB. The objects usually contains ArrayLists of other objects (also classes intances). The objects are returning from the client and some of their data was maybe modified by the user. The final update is being done using stored proc...more >>

How open a huge binary file
Posted by Leticia Ortega Maynez at 10/7/2004 10:39:53 AM
Hello, I am traying to open a huge file, just I want to open it. This is the code that I am using. I am using Visual C++ 6.0 compiler. main() { char *path1= "C:\\Reconstruction\\quad_HIDAC_data\\Test_File.lst"; char buffer[1024]; fstream fin; // object from fstream class //f...more >>

Prob in Ngen Com Addin.
Posted by isaac.varghese NO[at]SPAM lehman.com at 10/7/2004 2:02:25 AM
I'm not sure i'm posting the question in the right grp..if not pls redirect me to correct location.. Here is my problem.I know that by producing the native image of an assembly ,i can reduce the startup time and i experienced that with a sample windows application. And I tried the same with...more >>

Tracing: "End ProcessPostData" and "Begin Page_Load"
Posted by Man Manovich at 10/5/2004 1:22:45 PM
I have placed Trace.Write() at the begining of the Page_Load method. Here is trace log: aspx.page Begin Init aspx.page End Init 0.005577 0.005577 aspx.page Begin LoadViewState 0.005611 0.000035 aspx.page End LoadViewState 0.005702 0.000091 aspx.page Begin Pro...more >>

Custome Control...
Posted by Samir Patel at 10/5/2004 10:51:41 AM
Hi Everybody hai i am fine what about all of u? i have a problem regarding to ASP.NET custom control , can anybody help me? my problem is when i placed my custom control on page at design time i am not able to select the child control of my custom control,how can i do this second thing how...more >>

Thread Limits
Posted by Cablito at 10/4/2004 4:02:10 PM
1º. Is there a limit for threads on Windows? I have created a test program in vb.net and it seems as if after 160 threads it stalls and does not create new threads. WTF? Natural question I expect is "why in gods name do you want to create hundreds of threads?" I might be wrong and it migh...more >>

Deleting and recreating perf-counter categories
Posted by Nick Hodapp at 10/1/2004 4:13:02 PM
If I programatically delete and recreate my performance counter categories with each application session, I'm unable to call certain methods on the actual perf counters themselves, like NextValue() -- these methods throw an InvalidOperationException with "Category not found" as the error messa...more >>


DevelopmentNow Blog