Solved

Crashing Delphi App causes s-l-o-w desktop response

Posted on 2004-04-21
7
156 Views
Last Modified: 2010-04-05
I have a Delphi app (my programming!) which dials out on my Broadband connection every 2minutes, does a swift download and updates a few Database Tables.   It regularly crashes after about 4 hrs running, I have put a memory check in and there is around 250k of RAM left at the time of the crash.  The Windows error message refers to 'invalid page fault in kernel32.dll'  When it crashes the response time from my Win98 desktop is very slow indeed. For example activating the destop 'Programs' menu takes about 2 mins and similarly for each sub menu chosen.

Can anyone suggest a line of research please.
0
Comment
Question by:etherington
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
7 Comments
 
LVL 27

Accepted Solution

by:
kretzschmar earned 84 total points
ID: 10877991
go to www.madshi.net
get the madExcept-component
build it into your app
let the app run until crash
and tell what madexcept reports

meikl ;-)
0
 
LVL 12

Assisted Solution

by:andrewjb
andrewjb earned 83 total points
ID: 10877996
...So are you saying that the memory size of your application slowly increases over time...?

Sound like you're not freeing off some memory (or objects) somewhere each time you dial...
0
 
LVL 2

Assisted Solution

by:Molando
Molando earned 83 total points
ID: 10880477
Sounds like a memory leak.
get hold of a free copy of memproof:
  http://www.automatedqa.com/products/memproof.asp

You will have to turn on a few options, then run your program inside of memproof. WHen you end your program, memproof will show you where yoru memory leak is.

download the old installable version, then overwrite the files with their latest release (that way you can use their help files)

Molando.
0
 
LVL 2

Expert Comment

by:Molando
ID: 10880481
I wish I could type today.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question