?
Solved

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

Posted on 2004-04-21
7
Medium Priority
?
159 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 336 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 332 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 332 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

765 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