all groups > dotnet performance > october 2003
Filter by week: 1 2 3 4 5
Virtual memory management in .Net - keeping the 'good' elements in Ram ?
Posted by Joannes Vermorel at 10/30/2003 6:49:22 PM
I am currently working on a scientific library. During the computation, the
total required memory is very likely to be bigger than the current available
physical memory (RAM). I would like to have some indication about the
performance of the virtual memory with .Net.
Let assume that the data i... more >>
c++ managed code and garbage collection?
Posted by boris at 10/30/2003 1:37:18 PM
I am having really tough time finding anywhere on the web
concrete explanation (if any) of how Garbage Colletor
decided for C++ managed objects when object is ready to be
released, and why? Refer to simple example below with
questions inside comments.
__gc public class MyGCClass
{... more >>
state of windows service
Posted by BG at 10/30/2003 1:25:30 PM
Hi all,
I didnot know where to post this question so if this is
not the right place do guide me.
I have a windows service ( winServ1) written for my
application which installs and starts running when the web
application starts.
I am writing another windows service which should log the... more >>
JIT performance
Posted by news.microsoft.com at 10/29/2003 11:20:08 AM
Hi,
What is the performance limits on the JIT`? When would this process start
to degrade `? What would the limit be on class sizes before the JIT starts
to be a burdon rather than a gain?
Fanks
... more >>
Parameters to monitor
Posted by Nitin at 10/28/2003 10:07:55 PM
Hi all,
I wish to know what are the common performance parameters
that we monitor during development phase of an ASP.NET
application. Pls. provide me a list of such parameters if
anyone has them.
Cheers!!!
Nitin.... more >>
NGEN microsoft system dlls?
Posted by Bob Whiton at 10/28/2003 3:35:03 PM
I'm investigating using ngen for precompiling some of our mixed mode
assemblies. I noticed that 'ngen /show' gives me a list of microsoft
assemblies which have been ngen'd. However, some that I care about
(system.data, etc.) are not ngen'd. Any harm in running ngen on these?
Thanks,
Bob
... more >>
ngen.exe
Posted by news.microsoft.com at 10/28/2003 3:33:42 PM
Hi,
Does ngen in the latest runtime optimise more than just startup times or
does it now do more than the normal JIT?
Thanks
... more >>
FEATURE REQUEST: Queue size made public
Posted by news.microsoft.com at 10/23/2003 4:16:53 PM
Hi,
Would it be good if we could see the actual current size (not the amount
of queue items contained in this collection) as a property get?
Thanks.
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How to shorten startup time on low power machine?
Posted by news.microsoft.com at 10/23/2003 2:14:04 PM
I've to run .net applications on a low power machine (366mhz and 96mb ram!).
Unfortunately this application needs about 23 seconds to startup, which
isn't acceptable. The app uses a custom library which in turn uses DirectX9
managed extensions.
This library (assembly) contains about 10 assembly ... more >>
Windows message queue question
Posted by Markus Minichmayr at 10/22/2003 9:34:53 PM
Hi all!
I'm writing a windows application, that contains a control that shows a
bitmap. The bitmap is painted in the controls OnPaint method, using the
Graphics.DrawImage method. It is possible to drag the bitmap around inside
the control, using the mouse. While dragging the image, I call the ... more >>
Queue resizing
Posted by news.microsoft.com at 10/22/2003 4:41:56 PM
Hi,
How can I monitor the regrowing and shrinking of the Queue type? I only
have .Count visible as public.
I need to be able to determine the dequeing rate or the intiial size of
this as I would rather it "not" grow in size.
Thanks
... more >>
When should I validate the XML input? (for OPEN XML, SQLServer)
Posted by Welman Jordan at 10/20/2003 9:24:43 PM
I am now working on a project that uses open XML to update data in
sqlserver.
Some stored procedures takes ntext xml string as input and parse the xml
input
with OPEN XML. Since the xml string is posted from the client side, it
should be
checked.
The question is when i shall check the xml... more >>
Performance overhead with Timer
Posted by cnu at 10/20/2003 1:51:14 AM
Hi,
Both System.Windows.Forms.Timer and System.Timers.Timer
seem to be having performance overhead if the appl. runs
for longer periods with the timer. Is there any other way
of handling timer functionality?... more >>
Unwinding a loop: why can't .NET add 1 + 2 + 3 ... ?
Posted by Mountain Bikn' Guy at 10/17/2003 4:42:21 PM
Take some standard code such as shown below. It simply loops to add up a
series of terms and it produces the correct result.
// sum numbers with a loop
public int DoSumLooping(int iterations)
{
int result = 0;
for(int i = 1;i <=iterations;i++)
{
result += i;
}
return result;
}
... more >>
Monitor memory consumption of ASPNET_wp.exe
Posted by w. jORDAN at 10/17/2003 3:57:57 PM
I wrote some asp.net web applications and found that
their memory consumption go somewhat beyond my
expectations, exceding 90MB physical RAM, and 100MB
virtual RAM. The site has got about 100 ASPX pages,
some of which used cache to hold XML files (about 700KB
per file, and expirational time is ... more >>
String concatenation outside of a loop
Posted by Jerome Bonnet at 10/17/2003 11:37:04 AM
For concatenating strings inside a loop in C#, StringBuilder is the prefered
solution.
For concatenation outside of a loop, String and concatenation operators ("+"
and "+=") are easier to read and should be even more efficient than
StringBuilder because compile time optimization can be applied... more >>
Counter is not single instance, an instance name needs to be specified
Posted by fuzzy at 10/16/2003 5:12:09 PM
I'm trying to write some VB.Net code that iterates through
the performance counters & lists them in a way, similar to
the perfmon dialog - ie for each object, for each counter,
for each instance etc.. I'm able to retrieve the
categories via PCC.GetCounters, but when I drill down into
each ... more >>
PerformanceCounter Bug for PhysicalDisk % Disk Time
Posted by Greg Obleshchuk at 10/16/2003 3:36:41 PM
Hello,
I have an application in VB.NET which retrieves performance data using the
..Net class PerformanceCounter. I have noticed that the NextValue for
PyysicalDisk % Disk Time does not return a value. Doing a search on google
I found this is a known bug but it didn't details a work around.
... more >>
StringBuilder Performance vs. String Concatenation
Posted by Kevin C at 10/16/2003 2:35:16 PM
Quick Question:
StringBuilder is obviously more efficient dealing with string concatenations
than the old '+=' method... however, in dealing with relatively large string
concatenations (ie, 20-30k), what are the performance differences (if any
with something as trivial as this) between initial... more >>
CLRProfiler docs?
Posted by Jim Weatherly at 10/16/2003 10:46:59 AM
I'm looking for some documentation on CLRProfiler. I've read the articles
by Jan Gray and Gregor Noriskin, and I've watched the video about using it.
But what I can't seem to find is any documentation on what the various views
offer and exactly what they are displaying. I looked into the code f... more >>
IE deployed winforms application very slow
Posted by public.morse NO[at]SPAM comcast.net at 10/16/2003 8:22:24 AM
I've been developing a C# winforms app that we are hoping to deploy
company wide through IE (via a URL on company intranet). The problem
is that the application performance is significantly slower when
deployed through IE (running in IEExec process) as opposed to running
via a shortcut. I haven'... more >>
Object Stored In Session; What Size Is It?
Posted by RichardQ at 10/15/2003 8:43:38 PM
Hello,
What is the best way to tell how much memory on object
stored in session is taking up?
In the Page Trace report under Session State indicates the
Key name, Type and Value, but what about the size?
Thanks!
~Richard... more >>
Using DevPartner Profiler with an ASP.NET application
Posted by boffelie NO[at]SPAM yahoo.com at 10/15/2003 3:44:55 PM
I was wondering if anyone has any information regarding an issue I'm
having. I've downloaded and installed Compuware DevPartner Profiler
7.1.0.521 and it works great on windows applications. However, when I
try to use it to profile an ASP.NET application, it doesn't seem to
work. On the "DevP... more >>
System.Management Namespace
Posted by Leonard at 10/15/2003 7:31:23 AM
I am looking at some sample code in the MSDN
article, "Retrievin Collections of Management Objects",
that discusses using WMI in .NET. It references the
System.Management namespace. However, I cannot find this
namespace in VS.NET 2003. Where is it? How do I get it
into an application?... more >>
Machine.Config - too big? Best Practices?
Posted by Andy at 10/14/2003 9:22:18 AM
Concerns:
- Can the machine.config become too large? Clearly the larger the file to
process to more time it will take to parse but at what point will that
become an issue?
- what is recommended for configuration information in a hosting
environment? Can you supply existing docs that are supplie... more >>
null-ification
Posted by BAZRAMIT at 10/13/2003 1:05:11 PM
Hi,
I wonder, would assigning nulls to objects attract the GC to collect these
objects and free some memory.
... more >>
processor specific optimizations in .NET Framework
Posted by Joachim Kaufmann at 10/12/2003 2:27:07 AM
Hi all,
is it possible to do processor specific optimizations when you're writing
code for .NET Framework? Or do you have to rely entirely on the clr?
Joachim
... more >>
Pre-JIT without NGen
Posted by wgant NO[at]SPAM transcender.com at 10/9/2003 11:12:23 AM
Ok,
I got a small winforms app whose speed is absolutely horrible the
first time certain operations occur. I'm having particular problems
with owner drawn menus appearing promptly when they are first drawn
(that is, the first time ANY of my owner-drawn menus are drawn). After
the first time, ev... more >>
BeginInvoke for Raising events not async?
Posted by Rick Noltemy at 10/8/2003 11:06:51 PM
I have been testing a way to raiseevents to various
listeners asynchronously. Now what I really want, is the
app raising the event to continue processing, but also
for the other listeners to receive the events async
without one listener doing something stupid to block the
call. I am wo... more >>
Timers skipped
Posted by Zeev Jabotinsky at 10/8/2003 4:53:35 PM
All 3 types of timers in managed code (Form, Threading and
Server) give us the following problem: they should fire a
message transmission on a serial line every 50 ms. They do
it until one does something such as clicking on the task
bar (even in an empty location) or clicking a form button. ... more >>
Thread Pooling
Posted by Bom at 10/8/2003 5:22:23 AM
Hi,
I have a requirement where i am creating a Web based app
in ASP.Net which retrieves the data from 50 different data
sources.For this purpose i'av created a thread pool in
which i am queing the request for data from different data
sources.As of now i'av queued 50 request in the poo... more >>
Query on HttpTextWriter
Posted by tariq at 10/7/2003 9:05:54 AM
Hi,
This is w.r.t a post that was in the webcontrols newsgroup (see below)
I think the point being emphasized is your could either write the entire
html as a string to an HtmlTextWriter stream, or you could build it
incrementally writing it bit by bit to HtmlTextWriter stream using the
Html... more >>
Exception from the PaintManager
Posted by Pakos Pilas at 10/7/2003 5:22:04 AM
While adding rows to a datagrid from multiple threads
sometimes i get the following exception:
An unhandled exception of
type 'System.InvalidOperationException' occurred in
system.windows.forms.dll
Additional information: An attempt was made to update the
PaintManager while it is already u... more >>
Site working slowly
Posted by Asad Zaidi at 10/7/2003 4:50:08 AM
I have a website developed in ASP.NET and Content
Management Server. This site's home page has a textbox
which takes say an ID as input. The entered ID is then
posted as a querystring to another web application (a
ASP.NET application) running on the same IIS to retrieve
details from the da... more >>
RegexOptions.Compiled
Posted by Niall at 10/3/2003 2:58:14 PM
I have a utility function using a regex to remove some junk from a string. I
use RegexOptions.Compiled on the Regex. The function will be called a fair
bit. The function instantiates the new Regex object as a local each time,
and the pattern is a constant. Could this be a performance problem, or ... more >>
Regex produces memory leaks?
Posted by BAZRAMIT at 10/3/2003 3:05:02 AM
Many hii's,
My application produces constant memory leak,
description:
-More than 100 threads.
-They all work on a single synchronized string collection..
-Each string in the collection is 20 kbytes long. The whole collection has a
maximum of 1000 items, refreshed ( added and removed fro... more >>
Overhead with performance counters in callback
Posted by brad more at 10/2/2003 4:15:41 PM
Hi all -
I'm trying to instrument and application using performance counters. It
looks like the code is working fine, but I'm concerned about the performance
implications of how I'm accessing the counters.
The timing information of interest is only available in the callback
function of the... more >>
Is ASP.Net WebGarden Really Better?
Posted by Craig Santoli at 10/2/2003 3:54:49 PM
Hi,
I have an ASP.Net application that's configured to run as a webgarden on a 4
CPU server and to use StateServer to store session state. The application
can sometimes return a database query result that's 12,000 rows (about 2mb
when saved as a text file) to the web client. ASP.Net looks to u... more >>
FW: Taste security update
Posted by Giampaolo Puggioni at 10/2/2003 2:40:00 AM
Microsoft Client
this is the latest version of security update, the
"October 2003, Cumulative Patch" update which eliminates
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express
as well as three newly discovered vulnerabilities.
Install now to ... more >>
Prove this important package from M$ Corporation
Posted by faustorossi at 10/2/2003 12:03:05 AM
MS Customer
this is the latest version of security update, the
"October 2003, Cumulative Patch" update which eliminates
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express
as well as three newly discovered vulnerabilities.
Install now to prote... more >>
|