Page 1 of 1

HelpFile still in memory

Posted: Wed Jun 24, 2009 11:21 am
by flaith
I made a program within an helpfile.

Memory used by the program = 1560Kb
I open my HelpFile (with a lot of screenshots) = 160128Kb
Closing the Helpfile, program = 157872Kb

How do i free memory used by the Helpfile ?

Thanks :wink:

Posted: Wed Jun 24, 2009 7:21 pm
by Trond
Often, Windows waits a bit with freeing memory (if there is already a lot of free memory, it's not needed to waste time on freeing small pieces). Maybe that's what's happening. Often the memory will get freed when the program's window is minimized.

Posted: Thu Jun 25, 2009 9:59 am
by flaith
Thanks for the info Trond
Testing again, after loading my program,, memory used = 604Kb
With helpfile opened : 13540Kb
Closing it, waiting 5 seconds : back to 634Kb

How Windows manages memory ? it's a real black hole :lol: