473,800 Members | 2,516 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

performance profiling help

Jon
I have a service written in VB.Net 2. This service runs every 30 seconds and
connects to an external web service to get some data, then parses and saves
that data to our database.

For some reason, after a while the machine it's running on begins to crawl.
CPU usage shows as 0-2% for the service when it's running, and about 7% for
the machine overall. Memory consumption starts out at about 34 megs, and
never goes higher than 40 megs. I can't figure out what is causing the
slowdown.

Can someone recommend some tools or methods to help figure this out. I am
looking into using tracing, but is there anything else?

Thank you
Jon
Mar 6 '07 #1
1 931
Sounds like a memory leak. I don't know for sure, but I would guess you
need a Dispose or decontructo method in your classes. Also, I would be
curious if there is a memory viewer that shows me which modules are using
what kind of memory. It would be very useful for me and of course for you.

--
Anil Gupte
www.keeninc.net
www.icinema.com

"Jon" <ro*******@main streams.comwrot e in message
news:eQ******** ******@TK2MSFTN GP03.phx.gbl...
>I have a service written in VB.Net 2. This service runs every 30 seconds
and connects to an external web service to get some data, then parses and
saves that data to our database.

For some reason, after a while the machine it's running on begins to
crawl. CPU usage shows as 0-2% for the service when it's running, and
about 7% for the machine overall. Memory consumption starts out at about
34 megs, and never goes higher than 40 megs. I can't figure out what is
causing the slowdown.

Can someone recommend some tools or methods to help figure this out. I am
looking into using tracing, but is there anything else?

Thank you
Jon

Mar 6 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1954
by: ajjvn | last post by:
I 'inherited' a group of SQL Server server class machines. They are true server technology but the disk sub-systems are lacking. There is one hot-swap backplane that all the drives share (with one SCSI channel) thusly even though there are three logical drives (composed from 6 to 8 hard drives), they all go through one channel. This is creating a performance issue that is noticable and can be seen in various performance counters that...
6
1465
by: James dean | last post by:
I am comparing performance of my own application with another microsoft product. Is there first of all any s/w that could measure the performance of a running application like Ms publisher.....would be great if their was. I would at least like s/w to measure the performance of my own C# application. *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
22
3007
by: Michael Gorbach | last post by:
I was asked this summer to write a monte carlo code to simulation magnetic nanoparticles. For the nonphysicists, basicly it is a simulation where most of the time is taken up by looping through each pair in an array of 500 or so particles, in order to calculate interaction potential. I wrote what i have so far in csharp because i wanted to learn it and though it would give me some good experience. I am now beginning to understand that .net...
3
2431
by: Peter Olcott | last post by:
What can anyone: (1) Tell Me about (2) Provide Links to (3) Recommend Books Pertaining to Memory Performance Optimization? The main thing that I am looking for is rules-of-thumb that maximize the execution speed of time critical applications.
18
1194
by: koorb | last post by:
Every so often I read something like: "use a defensive code technique like File.Exists instead of a Try and Catch because it's less of a performance hog" And when I program, I obviously have different ideas on how to code different sections. So how to I findout what's best from a performance point-of-view?
19
3156
by: Tom Jastrzebski | last post by:
Hello, I was just testing VB.Net on Framework.Net 2.0 performance when I run into the this problem. This trivial code attached below executed hundreds, if not thousand times faster in VB 6.0 than in .Net environment, under VS 2005 Beta 2. Does anyone have any idea whether this will be addressed in the final release? Thanks, Tomasz
2
1505
by: Andreas Røsdal | last post by:
Hi, I'm using the Python profiler to optimize a pathfinding algorithm of a game, and would like some help from someone who knows how to improve the performance of Python code. The algorithm is A-Star, and it works correctly. However, the interface that I made between the A-Star pathfinding algorithm and the map data structure is what I've found to be a bottle-neck so far. As a start, I'd like to optimize the methods with the highest...
30
3552
by: galiorenye | last post by:
Hi, Given this code: A** ppA = new A*; A *pA = NULL; for(int i = 0; i < 10; ++i) { pA = ppA; //do something with pA
0
9695
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9555
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10514
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10287
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7588
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6826
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5479
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5616
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2956
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.