Discussion Locked

Clipper App bombing in win95/98 PC's

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I support a clipper based application that is used for client data entry. The program works fine but after a period of time the program starts to bog down. What I mean is while tabbing from field to field you notice it hesitates after a while and eventually the program will just close. You do not need to restart the PC just open the program again and it works fine. The program is run from an icon on the desktop. I added the emm386.exe and himem.sys lines in the config.sys for expanded memory to be available. PC's have 64-128 MB RAM and they are at least Pentium 133's. Not sure if there is some kind of memory leak in the program but any ideas on this would be very helpful.

1 reply

by csmith

If you can just restart the program to solve the problem this is not the traditional memory leak. With a traditional memory leak the PC has to be restarted to free the memory, because the OS (Windows) has not freed the memory after it is no longer used.

This could be a memory leak within the program, where it does not free the child memory when the child process stops.
This problem can also come from cacheing problems. (Saving too much "undo" information)
On troubleshooting this problem:
Have you watched the Hard Drive LED on the PC case to see if Windows is starting to use excessive Virtual Memory?
As you know, when Windows exhausts installed RAM it starts writing to the hard drive (virtual memory)
(I am assuming that virtual memory is enabled.)
The other obvious first step is to run a utility to check memory use.
This does not sound like a conventional memory problem (640K) , this does sound like an extended memory problem.
It is a good idea to also check resource usage, but resource exhaustion isn't very likely in this situation.
Well, This is a start.
Regards, Chris

This discussion is closed to new replies.