Solved

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

Posted on 2004-04-21
7
151 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now