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
all groups > dotnet performance > recent posts

Re: Windows Service & System.Timers.Timer production issue...
Posted by Willy Denoyette [MVP] at 4/23/2008 10:29:20 PM
Note that the KB clearly states that the BUG is in v1.0 and 1.1 only and that there is a FIX. Willy. "sloan" <sloan@ipass.net> wrote in message news:%23ea%23E7XpIHA.2068@TK2MSFTNGP05.phx.gbl... > > I realize you do not have a drag and drop timer. > > I pointed you to the other thread...more >>


Re: Windows Service & System.Timers.Timer production issue...
Posted by Mr. Arnold at 4/23/2008 9:45:33 PM
"Ollie Riches" <ollie.riches@btinternet.com> wrote in message news:69b3ce1e-5996-4d07-9469-a54cd88c572d@24g2000hsh.googlegroups.com... > The code C# .Net (2.0) has the required try/catch/finally to capture > any exception that might be generated during the Timer Elapsed event - > any errors...more >>

Re: Windows Service & System.Timers.Timer production issue...
Posted by sloan at 4/23/2008 4:18:36 PM
I realize you do not have a drag and drop timer. I pointed you to the other thread so you could find the KB discussing it. ... The KB also states: Additionally, use a System.Threading.Timer object instead of the System.Timers.Timer object. Of course its a design issue, or it would...more >>

Re: Windows Service & System.Timers.Timer production issue...
Posted by sloan at 4/23/2008 2:10:37 PM
Check this post/thread: http://groups.google.com/group/microsoft.public.dotnet.framework/browse_thread/thread/aa8a7a59b698f6b5/8b8c53ddf8298793?#8b8c53ddf8298793 I think its best to code up a TimerCallback... have it do the work. ... and THEN code up another call to for the timer to fire....more >>

Re: Windows Service & System.Timers.Timer production issue...
Posted by mgsram at 4/23/2008 1:41:49 PM
On Apr 23, 4:29 pm, "Willy Denoyette [MVP]" <willy.denoye...@telenet.be> wrote: > Note that the KB clearly states that the BUG is in v1.0 and 1.1 only and > that there is a FIX. > > Willy. > > "sloan" <sl...@ipass.net> wrote in message > > news:%23ea%23E7XpIHA.2068@TK2MSFTNGP05.phx.gbl... ...more >>

Re: Windows Service & System.Timers.Timer production issue...
Posted by Ollie Riches at 4/23/2008 12:56:02 PM
On 23 Apr, 19:10, "sloan" <sl...@ipass.net> wrote: > Check this post/thread: > > http://groups.google.com/group/microsoft.public.dotnet.framework/brow... > > I think its best to code up a TimerCallback... > have it do the work. ... and THEN code up another call to for the timer to > fire. > ...more >>

Re: Windows Service & System.Timers.Timer production issue...
Posted by Ollie Riches at 4/23/2008 12:47:37 PM
On 23 Apr, 18:25, mgsram <mgs...@gmail.com> wrote: > On Apr 23, 12:28 pm, Ollie Riches <ollie.ric...@btinternet.com> wrote: > > > > > > > I'm looking into a production issue related to a windows service and > > System.Timers.Timer. The background is the windows service uses a > > System.Tim...more >>

Re: Windows Service & System.Timers.Timer production issue...
Posted by mgsram at 4/23/2008 10:25:20 AM
On Apr 23, 12:28 pm, Ollie Riches <ollie.ric...@btinternet.com> wrote: > I'm looking into a production issue related to a windows service and > System.Timers.Timer. The background is the windows service uses a > System.Timers.Timer to periodically poll a directory location on a > network for fil...more >>



Windows Service & System.Timers.Timer production issue...
Posted by Ollie Riches at 4/23/2008 9:28:00 AM
I'm looking into a production issue related to a windows service and System.Timers.Timer. The background is the windows service uses a System.Timers.Timer to periodically poll a directory location on a network for files and then copies these files to another location (on the network) AND then up...more >>

Garbage Collector eats 100% of CPU
Posted by brianberns@gmail.com at 4/22/2008 7:55:35 AM
I have written a C# program that builds a move tree for the game of Checkers. Such a move tree is naturally a very large data structure. When I run the program on a 64-bit machine with 8GB of RAM, the move tree (correctly) grows to several GB in size. What I expect to happen is that the tree k...more >>

Re: How to read sequentially from a random point in a large Xml File. (200 - 2000 MB)
Posted by W. Jordan at 4/19/2008 11:00:51 AM
Today I tested with the TextReader, and XmlReader, I found that the Stream.Position can not be used to tell XML node position between each Read methods, since the readers will read some amount of chars and then cache the them. Then we have got to write our own XML parsing and indexing codes, whi...more >>

Re: How to read sequentially from a random point in a large Xml File. (200 - 2000 MB)
Posted by W. Jordan at 4/16/2008 9:31:40 AM
Sorry about the previous post. No "id" attribute is needed actually... "W. Jordan" <wmjordan@163.com> wrote in message news:%230fvOF2nIHA.2160@TK2MSFTNGP06.phx.gbl... > Hey there, > You should do something to prevent this exception. You should do > replaces to the fragment to add an "id" at...more >>

Re: How to read sequentially from a random point in a large Xml File. (200 - 2000 MB)
Posted by W. Jordan at 4/16/2008 9:28:19 AM
Hey there, I did not test with the problem. I know what you are talking about. First, in order to browse and seek through the document, you should use XmlReader.Read () and Stream.Position to go through the document, and record start tag offsets of every critical elements. And use the offset ...more >>

Re: GC.Collect() not cleaning memory, how to find out what references to lots of memory still exist?
Posted by Henning Krause [MVP - Exchange] at 4/15/2008 3:08:25 PM
Hi, answered in public.dotnet.framework. Please do not multipost. Do a proper crosspost instead. Kind regards, Henning Krause "DR" <softwareengineer98037@yahoo.com> wrote in message news:%23oXmvE0nIHA.2292@TK2MSFTNGP03.phx.gbl... > GC.Collect() not cleaning memory, how to find out wh...more >>

GC.Collect() not cleaning memory, how to find out what references to lots of memory still exist?
Posted by DR at 4/15/2008 2:03:59 PM
GC.Collect() not cleaning memory, how to find out what references to lots of memory still exist? When all my processign is done i set everything to null and then: GC.Collect(); and then GC.WaitForPendingFinalizers(); but it still shows that my process takes 400 MB of memory. Is there any ea...more >>

RE: Debug build and ngen.exe
Posted by Misbah Arefin at 4/13/2008 4:13:00 PM
Why would you want to ngen a debug build? Isnt the purpose of ngen to speed things up for your app? If so then step1 should be to have the build in release mode. I hope you are not considering deploying your debug build out to production. Debug build is for development... the code is bloate...more >>

PerformanceCounterCategory.Create() takes 3 minutes to add a new category!! How come? What can cause this?
Posted by DR at 4/10/2008 12:25:46 PM
PerformanceCounterCategory.Create() takes 3 minutes to add a new category!! How come? What can cause this? ...more >>

Strange Visual Studio 2008 JIT Optimization Regression
Posted by James C. Papp at 4/8/2008 2:19:02 PM
Hi all, I’ve originally posted this over here: http://forums.microsoft.com/MSDN/ShowPost.aspx?siteid=1&PostID=3140358 But figured that this might be the better place to ask my questioned… I’m experiencing this strange optimization issue in Visual Studio 2008 in C++/CLI. I’m get...more >>

How to read sequentially from a random point in a large Xml File. (200 - 2000 MB)
Posted by Schwartzberg at 4/3/2008 12:59:08 PM
Hello Have a huge XML file with multitudes of "LogEntry" nodes / text lines. A small sample of this xml/text content is below. The file could be anywhere between 200 to 2000 MB. My questions comes in two parts. (A) I would like a solution (or ideas for it), in C#, -- to randomly access ...more >>

Re: Server freezes for minutes.
Posted by Ben Voigt [C++ MVP] at 4/2/2008 3:02:52 PM
> You may want to GC manually in your code, maybe after however many > work items complete in an hour. Personally, I would rather have a > few seconds of GC every hour than 30 secs - 6 minutes every few days. Sadly, the .NET GC can't be amortized like this. Cost of a GC is proportional to t...more >>

Debug build and ngen.exe
Posted by jonson.ulf@gmail.com at 3/31/2008 7:38:46 AM
Hi, I have .NET assemblies compiled in VSS2005 as a debug build. If I use ngen.exe on these files do I have to give "/debug" flag for the native image generation to do any good or is that not related. Is the "/debug" flag only important if I execute with a debugger? Will I get the "possible...more >>

RE: New & nice laptop with VERY slow Vista Boot
Posted by Szydlowski at 3/22/2008 5:33:00 PM
Hi. I've been solve the problem tonight. Here is explaine: Microsoft Office 2007, Business Contact Manager for Outlook 2007 and MS SQL Server Express. If you want uninstall the Business Contact Manager, uninstaller ask you for uninstall the SQL Server Express too. If you confirm that...more >>

Re: msvcrt80.dll being loaded by aspnet_perf.dll
Posted by Mike Blake-Knox at 3/22/2008 9:29:02 AM
In article <4F7066E9-2F85-463F-9B63-C9875C777797@microsoft.com>, Rob Green wrote: > i have a visual studio 6 compiled application that can no longer load because  > ..NET 2.0.50727 aspnet_perf.dll is trying to load msvcrt80.dll.  This is  > happening when i load WMI and am trying to query some ...more >>

RE: New & nice laptop with VERY slow Vista Boot
Posted by Szydlowski at 3/22/2008 8:34:01 AM
I have completly same problem. It was in 7 days after the instalation of Vista. I wish the SP1. "GabeTX" wrote: > Hi there. I got a HP laptop, 4 GB RAM, 250 GB HD, Dual Core 2.3 GHz, Vista > Ultimate 64 bits, NO extra software added except Office 07. > > Boot time until hard disk stop...more >>

Re: Server freezes for minutes.
Posted by Robert at 3/20/2008 11:27:30 PM
> I'm experiencing very weird problem. > Once in several days the server gets frozen for about 6 minutes!!. > > I don't think this is deadlock and I'm almost confident that threads are > paused (by GC?), > because there is thread pool based timer which doesn't fire for > the same amount of t...more >>

Start PerfMon trace via Reg entry
Posted by john conwell at 3/20/2008 9:35:01 AM
I've been trying to figure out how to programmatically start a PerfMon trace. It looks like when you manually setup a trace, PerfMon adds a registry entry to the key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SysmonLog\Log Queries So this seems like an easy way to kick off a tr...more >>

msvcrt80.dll being loaded by aspnet_perf.dll
Posted by Rob Green at 3/19/2008 1:47:01 PM
i have a visual studio 6 compiled application that can no longer load because ..NET 2.0.50727 aspnet_perf.dll is trying to load msvcrt80.dll. This is happening when i load WMI and am trying to query some (non-performance and non-.NET related) values. How can i prevent this from occuring? I ...more >>

Server freezes for minutes.
Posted by Sergey at 3/18/2008 2:23:11 PM
I'm experiencing very weird problem. Once in several days the server gets frozen for about 6 minutes!!. I don't think this is deadlock and I'm almost confident that threads are paused (by GC?), because there is thread pool based timer which doesn't fire for the same amount of time (Server use...more >>

some new languages
Posted by davidboon28@gmail.com at 3/18/2008 6:41:33 AM
http://computer-language-tutorials.blogspot.com http://comp-languages.blogspot.com...more >>

Software Performance User Group...Seattle area?
Posted by john conwell at 3/17/2008 3:44:02 PM
I'm sure this isn't the best place to put this, but I don’t know of another place where I'll get performance people to see it. I'm wanting to try and put together a Seattle (and surrounding areas) Software Performance User Group. Basically a way for us Performance folks to get together a...more >>


DevelopmentNow Blog