all groups > dotnet performance > december 2003
Filter by week: 1 2 3 4 5
GC does not release memory...memory keeps growing!!!!
Posted by Mahesh Prasad at 12/31/2003 11:08:07 AM
Hi,
I'm having a very very frustrating experience with the .NET. I've a simple
crawler console application.
The main objective of the crawler is to read a list of URLs and make HTTP
calls to a web server and save
the html files locally.
I had setup perfmon to monitor the memory usage of th... more >>
Coding practice
Posted by Simon at 12/30/2003 8:01:05 PM
Hi all,
From the performance perspective, which of the following
is better? please give brief explaination.
Thanks
Simon
********************************************************
Q1 if(string.indexOf(1, ".aspx") != -1)...
verse
if(string.indexOf(1, ".aspx") > -1)...
*... more >>
Is there a way to decrease the delay before the splash screen starts?
Posted by myjunkbuster at 12/27/2003 8:55:40 PM
I have a C# application that uses a couple of retro VB controls:
Microsoft.VisualBasic.Compatibility.VB6.DriveListBox
Microsoft.VisualBasic.Compatibility.VB6.DirListBox
Which requires that I have the following references:
Microsoft.VisualBasic
Microsoft.VisualBasic.Compatibility
These refe... more >>
nprof 0.5 released
Posted by Matthew Mastracci at 12/26/2003 3:55:28 PM
The nprof 0.5 alpha release is now available.
nprof is designed to be not only a fully-fledged profiler for .NET
applications, but also a complete API that can be used to build other
profiler front-ends, as well as extend the default GUI with new
visualization tools. nprof is Open Source.
... more >>
thread safe singleton pattern (as a property)
Posted by Mountain Bikn' Guy at 12/25/2003 7:37:31 PM
Is the second version shown below better? I couldn't locate enough info
about [MethodImpl(MethodImplOptions.Synchronized)] in order to tell.
1.. My commonly used singleton pattern implementation looks like this (it
was inspired by Eric Gunnerson's book):
private static volatile MyClass si... more >>
How much memory are my objects taking up?
Posted by gregory_may at 12/23/2003 7:56:37 PM
Does VB/Visual studio.Net have some way to let me know how much memory my
objects are taking up? I cant seem to figure out how to get the
Locals/Watch/or Memory windows to show this information (Maybe I am doing it
wrong?).
It looks like I have some kind of memory leak in my Visual Basic prog... more >>
Performance monitoringr DotNet Applications with SysPerf Framework (free tree month evaluation lisence)
Posted by olegk at 12/23/2003 1:55:11 PM
Hi,
We proudly announce the new web based monitoring tools, writtnen on DotNet
and ASP.NET.
SysPerf Framework was engineered using Microsoft .NET technology and the
latest web services technology to provide true enterprise-wide performance
monitoring in a single Web browser.
Read more ab... more >>
WinService Timeout w PerfCntrs
Posted by RockDog at 12/22/2003 12:17:56 PM
We have built a suite of windows services that rely on Performance Counter
data. When our services are set to "AutoStart" and we reboot the machine,
the services are timing out and do not start. Our software must support both
Windows 2000 and XP. Here are more more details:
Service 1: "Rock_Fr... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Preloading some dlls (or assembly) for game programming.
Posted by drawtree NO[at]SPAM hotmail.com at 12/21/2003 12:19:35 PM
Hi.
I'm working on private game project.
The game is shooting game, so I need very high speed with seamless
frames.
I satisfied with speed of Managed DX, but I gor some strange problem
about loading dlls.
When I debugging, framework sends me serveral dlls loading messages.
I don't know ab... more >>
Thread (GCHeap::FinalizerThreadStart) takes a long time and a lot of CPU!
Posted by Adam at 12/17/2003 12:55:31 AM
Hi
Our application has the following architecture : Rich Client (C#),
Business-Logic/Processing tier (C#, MC++) hosted in a Windows service
(stateful) and Data tier (custom 'DB' accessed via DCOM/COM written in
ATL/C++) (again stateful Windows Service). Client machines are P3 1Ghz
(512MB) or ... more >>
Hooking time for each function call in a user control
Posted by Rahul Johri at 12/16/2003 6:51:12 PM
Hi,
Can anyone tell me how can I get the time intervals between function
call in a user control (say third party user control, for which I do not
have the source code.)
I need to get the time each function took for execution.
Eg: I want to get the time used only in drawing the physical ap... more >>
Measuring GDI performance
Posted by Pawan Agarwal at 12/16/2003 6:06:04 PM
I am in a process of evaluating different third party components in terms of
GDI performance. What would be the best way to measure the time it takes to
draw the control. The point here is that I do not have the source code for
the components and I want to get the performance data for certain spe... more >>
Application memory usage
Posted by Crirus at 12/16/2003 1:45:58 PM
I have an aplication (obviously :))
I look at the Task Manager, memory usage column, and notice the following:
First time I start the application, I have around 55.000- 60.000 K.
After I minimise the application and restore, the Memory usage drop to
16.000K and remain around that value..
Shou... more >>
Accessibility.dll load issue:
Posted by Praveen Ramesh at 12/16/2003 11:50:02 AM
I am rephrasing a question, I asked a while back here.
I have a Control like this:
public class MyControl : Control
{
protected AccessibleObject CreateAccessibleInstance(){..}
...
}
This causes the Accessibility.dll to get loaded as soon as the above type is
created (note that t... more >>
Why Microsoft doesn't use winforms controls in their applications?
Posted by Nikolay Unguzov at 12/15/2003 2:35:39 PM
It's strange - Microsoft newer use winforms controls in their
applications...
Performance of winforms is incredible bad! I'm testing all grids written in
pure NET and all of them are incredible slow in very simple operations like
scrolling with mouse or keys navigation.
Can anyone show me e... more >>
ngen causes application to hang - BUG in ngen!
Posted by Claus Klammer at 12/15/2003 1:29:31 PM
We have to use ngen to improve startup time for various applications .
These apps use an external lib for logging which is installed in the GAC and
is also ngend. The logging level is set in an ini-file. This scenario with
the ngend application files (exe) works for almost all applications, but f... more >>
exception when running installutil against System.Diagnostics.PerformanceCounterInstaller
Posted by Andrew at 12/15/2003 11:43:09 AM
Hi all,
When I run installutil against an assembly containing a class which inherits
from
System.Diagnostics.PerformanceCounterInstaller, I get the following errors:
Installing assembly 'c:\...\searchtimertest\gui\bin\searchtimer.dll'.
Affected parameters are:
assemblypath = c:\...\sear... more >>
switch vs. if-else
Posted by Mountain Bikn' Guy at 12/15/2003 3:01:14 AM
Is there any performance difference between using a switch statement and the
logically equivalent if-else structure?
Thanks,
Mountain
... more >>
Slow ASP.NET Response!
Posted by Vito DeCarlo at 12/14/2003 1:34:11 PM
I've been having this problem for a few weeks. PLEASE read this post before
responding with some simple reason that has nothing to do with my problem.
If you need more information, please request it as I'll be checking this
post very often.
PROBLEM:
Occaisionally, our web server begins runni... more >>
Calling GC on idle question
Posted by scottandrew NO[at]SPAM adelphia.net at 12/11/2003 7:58:12 PM
I am working on a hight speed UI in managed directX and C#. The way
the UI works is that as resizes and button state changes cuase renders
to happend. The UI is resolutoin dependent and all alpha blended.
If during my render I need to draw text that get's to be a memroy
intensive thing. The te... more >>
Forcing a JIT of a type:
Posted by Praveen Ramesh at 12/11/2003 5:43:07 PM
Hi,
I would like to JIT a type during application load. This is necessary
because JITing on demand slows down tremendously certain user operations at
the later stage. And PreJiting via ngen is not an option here (think
internet deployment, etc).
I have observed that calling a method explici... more >>
Loading Accessibility.dll
Posted by Praveen Ramesh at 12/11/2003 2:48:10 PM
Hi Guys,
We have overridden CreateAccessibleObject in our Control types and the
presence of this override causes the Accessibility.dll to be loaded when the
type gets instantiated.
This is a huge issue in our deployment scenario, where we want to minimize
the load time for our apps. And we ... more >>
binary serialization performance
Posted by Mark Miller at 12/11/2003 5:00:35 AM
I have a collection of objects that is being returned from a remoting
call. As the collection gets larger, the serialization/deserialization
time seems to get exponentially longer. (100 objects takes a few
moments, 500 takes a few minutes, 1000 takes forever)
I'm implemented a FlyWeight pa... more >>
Measuring excecution time
Posted by Dimitris at 12/11/2003 2:50:03 AM
Hi.
I develop a program using C# and I want to measure the
time it takes for a function to be excecuted. Can anyone
help me on this?
Thanks... more >>
Is there a limit to the number of objects that can be created in .net?
Posted by Huzaifa Tapal at 12/10/2003 11:59:34 PM
Hi,
i have an application that creates objects on the fly based off of
database records. I am running into a problem where after a certain
number of records, I get the following error:
[OleDbException (0x80004005): Unspecified error]
System.Data.OleDb.OleDbConnection.ProcessResults(Int3... more >>
object = null at end of methods
Posted by John Xavier Smith at 12/10/2003 2:27:31 PM
All the developers on my project have a habit of setting objects to null
before a method ends.
Is this really necessary? I don't believe there is any benefit what so ever.
The typical reason given is to free up memory.
Surely if the procedure is about to end then they will be marked as null
s... more >>
The Process Object Issue
Posted by smith at 12/9/2003 9:02:46 PM
Question on .Net fundamentals, re: JITing of the Framework
Calling Process.GetProcesses() on a HyperThreading (possibly true multiproc)
computer running Windows 2000 fails with "Couldn't get process information
from remote machine ---> System.ArgumentOutOfRangeException: Ticks must be
between ... more >>
Floating point Math
Posted by n! at 12/8/2003 3:15:56 PM
I'd like to perform some math calculations, however I only require single
precision results. The System.Math class provides only double precision
Sin\Cos (etc) methods so I'm forced to cast the result. Looking at the
assembly generated by the JIT it seems that these are intrinsic methods, as
the... more >>
.Net Hyperthreading 2kPro and Process Issues: Very strange?
Posted by smith at 12/7/2003 8:55:01 AM
I was recently set to release an app that used very common single instance
code and hit the oddest issue.
After many hours of full build tests I believe that it is duplicatable.
Environment:
..Net 1.1 (v1.1.4322)
Windows 2000Pro
HyperThreading machine
Issue:
Install 2kPro on the HT... more >>
Reading Huge Text File Performance Problem
Posted by WoodenSword at 12/6/2003 3:33:44 AM
Hi,
I am trying to read a huge text file (2GB) using
StreamReader.
I do this:
Read a line (readline())
I process the line a bit (split it with delimeter and
change fields a bit)
execute (using transaction) a insert query to Ms Sql server
Commit a transaction for 1000 insert queries.
... more >>
help in analyzing data
Posted by Ashish at 12/5/2003 4:27:30 PM
we have a severe memory problem on our webservers, the sitiuation is
that the asp.net worker process just keeps eating all the memory and it
eventually crashes when it reaches the 60% ( or whatever ) limit , it
crashes, i have tried to observe it several time, but never saw it
loosing any me... more >>
Maximums
Posted by Greg at 12/5/2003 9:54:25 AM
Does anybody know what the maximum number for threads per
AppDomain is? Surely there must be some kind of maximum. I
am not talking about thread pooling. Just using threads
with threadstart. Also the maximum stack size, max memory,
etc. Where or how do we configure these maximums? How do
w... more >>
best way to retrieve manifest resources efficiently
Posted by Mountain Bikn' Guy at 12/4/2003 2:12:07 AM
I have about 500 objects that each have 1 or more images. The images are
icons stored as manifest resources. These images will need to be displayed
repeatedly and quickly.
Right now I have a property that provides the images on demand. It 'caches'
the images in a local variable, so after the f... more >>
Possible memory leak in singleton object hosted in window service
Posted by Raghu at 12/3/2003 12:24:03 PM
We host bunch of singleton remoting objects in different app domains in a
window service. The service runs with admin user identity. The client
(window application) calls a method (say A) on the singleton remote object
to supply an id. The method on remote object does some heavy processing
based... more >>
RealTime
Posted by Joe at 12/2/2003 5:15:33 AM
Hii
Can anybody tell me how good is developing realtime
applications in .NET
Is writing managed code for realtime performance critical
applications advisable?
Thanks in advance,
Joe... more >>
System resource usage
Posted by Niall at 12/1/2003 1:26:49 PM
I'm not quite sure which groups to post this to, so short of a massive
crosspost, I decided on these two.
I am running into troubles with resource usage of our app on Win2k and above
systems. In several places, I have seen it said that the WinNT model only
limits resources to available memory.... more >>
C# Antipatterns?
Posted by John McClenny at 12/1/2003 11:06:48 AM
Java has been around long enough to collect a large set of antipatterns
to collect knowledge about things that don't work/scale well.
Does anyone have good sources for the equivalent .NET/C# antipatterns?
What are the gotchas in building complex/large C# apps?
TIA... more >>
ASP.Net app residing on server with ASP app
Posted by Kelly at 12/1/2003 9:16:16 AM
Does anyone know if an ASP.Net application can reside on
the same server as an ASP application without causing any
conflict? They are both SQL server based. Thanks... more >>
|