Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

862 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

20 Experts available now in Live!

Get 1:1 Help Now