HelpFile still in memory

Everything else that doesn't fall into one of the other PB categories.
User avatar
flaith
Enthusiast
Enthusiast
Posts: 704
Joined: Mon Apr 25, 2005 9:28 pm
Location: $300:20 58 FC 60 - Rennes
Contact:

HelpFile still in memory

Post 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:
“Fear is a reaction. Courage is a decision.” - WC
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post 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.
User avatar
flaith
Enthusiast
Enthusiast
Posts: 704
Joined: Mon Apr 25, 2005 9:28 pm
Location: $300:20 58 FC 60 - Rennes
Contact:

Post 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:
“Fear is a reaction. Courage is a decision.” - WC
Post Reply