Solved

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

Posted on 2004-04-21
7
154 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
  • 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: 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

Suggested Solutions

Title # Comments Views Activity
Convert GUI app into console app for Win32 Env 5 109
Delphi and Access based Enumeration 9 70
Graphics32 under Delphi 10.1 Berlin 2 104
Wincontrol not (correctly) drawn 15 42
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…
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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

829 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