Strange Memory Problem
- From: "KLite" <danny2001s@xxxxxxxxxxx>
- Date: 26 Aug 2005 16:57:16 -0700
I'm using Delphi7 under Windows XP with SP2.
Is useful to develop a program to scan my files on harddrive, but I
have a strange memory problem: if I check the memory used for my
program, in Windows Task Manager, it reports 140MB (a lot of files),
but this is not true. I'm not leaving memory leaks. The only way to get
the correct memory used, seems to work when I MINIMIZE the main form
window, then if I restore the window, the task manager reports exactly
10MB os memory use, which is correct. That memory is correctly free
when I terminate to revise the report list view.
What is wrong? This seems to be the normal behavior of Delphi, I
already tested this with programs on Demos folder, specially the
complicated Servers... That demos allocates memory and free the
allocated memory correctly, I'm doing the same way. Why Task Manager
reports a lot of memory (certainly, that memory was used, but by the
time I check Task Manager memory for my program, all memory used is
already free.
Is there a way to force the behavior of the Minimize, but without
minimize it? I don't want to alter the main form behavior just for
this, but I don't want to start having Windows XP to start swaping
memory to disk. Sorry for newbie question.
Thanks a lot
Daniel
.
- Follow-Ups:
- Re: Strange Memory Problem
- From: Nicholas Sherlock
- Re: Strange Memory Problem
- Prev by Date: Re: Good settings for BlockRead
- Next by Date: Re: Strange Memory Problem
- Previous by thread: Mapping DLL procedure to Delphi
- Next by thread: Re: Strange Memory Problem
- Index(es):
Relevant Pages
|