all groups > dotnet performance > january 2005
Memory Leakage Issue
Posted by Narayan at 1/31/2005 12:53:32 AM
Hi All,
I am doing performance testing for an webservice like
application. The application has a login page. on giving
the login credentials the customers welcome page is
displayed (the data is not fetched from any database
server but fetched from a xml document) and presented in
the br... more >>
server gs vs workstation gs
Posted by Zeng at 1/28/2005 9:43:36 AM
I just realized that there are 2 modes for garbage collection modes: server
gs and workstation gs. Would someone know how I can go about changing the
mode for my web application written in C#? I want to make sure it's using
server gs mode. Thank you for any comment or advice.
-zeng
... more >>
Hosting object in COM+ vs IIS
Posted by Stewart Rogers at 1/28/2005 7:59:06 AM
Hi all,
@ my work place, we have been using COM+ for business objects for a while
even though our COM+ components are VB 6.0 components and as such we did not
make use of any of the COM+ features (except it being a host for our DLLs)
Now we are embarking upon .NET and have been debating b/... more >>
PerformanceCounter (CPU load) staggers for 20 seconds after 2 minu
Posted by Pete at 1/25/2005 12:35:03 AM
When using PerformanceCounter.NextValue to measure CPU load (percentage), it
returns quickly on every call but then takes 20 seconds at the 2 minute
boundary. After this it again returns quickly. Here's a sample:
//**********************************
using System.Diagnostics;
using System.Th... more >>
Server control vs. <%= %> block to display text ??
Posted by Marlon at 1/24/2005 8:58:43 AM
Which one of the methods would use less server resources and give better
performance to display data on a page?
... more >>
writing a "permanent" console application
Posted by lightyears78 NO[at]SPAM yahoo.de at 1/23/2005 3:22:37 AM
Hello,
i need to write a simple console app which checks every 5 minutes or
so whether the website is available or not.
so after the start, it kind of runs till the windows is down...
how to do that, with threads?
what about perfomance issues? do i need to "kill" some of the objects?
any h... more >>
Properties faster than Fields ?
Posted by JEB at 1/20/2005 11:37:06 AM
I was trying to find out the fastest way (coding standards and best practices
aside) to set data into Business Entities which only job is to encasulate
DataTables from the Business Components processing them. We thought that
Fields would be faster but in a simple test of get/setting data into... more >>
aspnet_wp.exe Grabs All CPU
Posted by Sitruc at 1/18/2005 11:34:45 AM
We have ASP.NET 1.1.4322.0 on a Windows 2000 sp4 machine with 2 processors.
During a load test of 25 users the cpu goes to 100% during the test and
aspnet_wp.exe is the process that is consuming the cpu. Memory for this
process stays contant at around 160mb. I'm not the developer so I'm
guessi... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
JIT Compiler identified as major Processor overhead, Solutions?
Posted by Neal at 1/18/2005 5:33:03 AM
Hi
Using v1.0, and a straightforward app, ie WebForms, Grids and MSSQL calls
into Datasets / SQLDataReaders.
On Testing (granted test server is a P2 350mhz), The Processor Counter shows
MAxing out at 10 concurrent users, all other counters are at absolute idle.
(DB on a seperate DB Server)... more >>
Garbage Collector
Posted by Ghislain Roggemans at 1/17/2005 7:32:09 PM
My GC continues to fill all the time and never empty... do you know how to
empty it manually?
... more >>
garbage collections in circular references
Posted by Allen Anderson at 1/14/2005 2:35:52 PM
If I have an object MYCONTROL that has a reference to object A that
subscribes to an event of object B and has a reference to object B in
its Items collection that is a member of object A. Object B also has
a reference varialbe Parent that points to object A. If I null the
reference to object ... more >>
Garbage Collection
Posted by João Santa Bárbara at 1/14/2005 11:38:17 AM
Hi all, lets get start.
i have a few questions to ask perhaps someone can help me.
i´m doing a simple aplication. some thing like this
i have a form with a button that opens another form in dialog mode.
' button code ...
Dim frm As New frmAbout
frm.ShowDialog(Me)
frm.Dispose()
first , ... more >>
Memory Problems With Strings
Posted by Nitin M at 1/12/2005 8:47:59 PM
Hi,
I have a Xml of size 10 MB. I read all this xml into a string variable in
memory. What I expect is that the memory consumption of the process should
be around 10 MB. But I got some big surprises.
The Windows Task Manager shows Mem Usage around 70 MB.
However, PerfMon shows #Bytes in a... more >>
need recordcount - datareader + 2 select queries or dataset ??
Posted by captainjon NO[at]SPAM hotmail.com at 1/11/2005 3:54:16 AM
Hi,
I need a recordcount from a query before I display the data because if
the result is too large > 20 rows (up to 500 possible) I display a filter
form instead to narrow down the results.
From what I've learnt, I think I can either do a select count to get the number
and then another query ... more >>
Performance cost of BeginInvoke
Posted by Xwire at 1/10/2005 7:34:35 PM
Hello, I was wondering if anyone knows the performance cost of calling
BeginInvoke on a method so that it executes on a differnent thread. Is the
cost much higher than just calling the method on the thread it's on? I need
todo this continually maybe 10 times a second, maybe more, would this ca... more >>
WebService timeout after setting debug="false"
Posted by wcchan at 1/7/2005 6:06:24 PM
Hi,
We set debug="false" at web.config of a WebService for performance sake. We
found that after set, the web service request will sometimes got a timeout
exception. Would anyone tell me how long the web service request be timeout
and how to configure the timeout limit of the webservice calls?
... more >>
How much memory do managed code objects take, really?
Posted by Marcos Stefanakopolus at 1/7/2005 9:34:20 AM
Is there a general method for finding out, to the byte, how much memory is
consumed by a given instance of an object?
I'm in the process of designing a scientific simulation program (to simulate
planetary formation, tectonics, etc). To simulate an earth-sized planet
with any nice degree of... more >>
Is this bug known? (JIT Optimiser, I think)
Posted by Stephen Gryphon at 1/6/2005 4:27:05 PM
(Compile to see the bug.)
using System;
using System.Drawing;
class MainClass {
static bool SimpleExample = false;
static bool ReorderExample = false;
public static void Main( string[] args ) {
FirstAnExample();
Console.WriteLine();
if( Simple... more >>
Maximum number of elements in arrays
Posted by Joannes Vermorel [MVS] at 1/6/2005 11:36:11 AM
Can someone tell me what's the maximum size of array in .Net 1.1 and .Net
2.0. I need to handle very large in[] objects (indexed by Int64 ?), and
thinking to run my code on an AMD64.
Thanks in advance,
Joannès
... more >>
three physical layers performance issue
Posted by Oscar Nieto at 1/5/2005 11:51:10 AM
Hey folks! I need some light with this...
I have a big three layer application with a Web interface... once it was
built the webforms where using the dlls of the bussines logic in the same
server (bin directory of the virtual folder on IIS). However, a few weeks ago
we needed to separate th... more >>
Books on .NET/C# Profiling???
Posted by carbon_dragon NO[at]SPAM yahoo.com at 1/4/2005 5:02:41 PM
Does anyone know of any good books (or even papers) on .NET profilers,
especially the .NET profiler Microsoft will allow you to download? I'm
having problems interpreting the results. A book would help. Thanks.
... more >>
Enum conversion from an Object in VB.NET
Posted by Marlon at 1/4/2005 1:13:27 PM
Which statement gives better performance (where obj can contain any of the
CLR runtime types)
1) CType([Enum].Parse(GetType(UploadMode), tmp), UploadMode)
or
2) Me._mode = CType(tmp, UploadMode)
or
3) System.ComponentModel.TypeDescriptor.GetConverter(
GetType(UploadMode)).ConvertFromxxxx... more >>
String conversion from an Object in VB.NET
Posted by Marlon at 1/4/2005 9:23:12 AM
Which statement gives better performance (where obj can contain any of the
CLR runtime types)
1) CStr(obj)
or
2) obj.ToString()
... more >>
How to access Locals, Autos...programmatically?
Posted by G.Ashok at 1/4/2005 12:41:19 AM
Hi,
How can I can access all the debugger aids (like Autos, Locals, Me (This),
MemoryLists, Threads, Modules, Registers) programmatically? I want too use
them in my program to log the exact picture of the error and its condition
like the values of the each variable etc. when an error occurs in... more >>
|