Click here to Skip to main content
15,889,527 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralHelp with Error Pin
Jose Cruz8-Oct-02 5:35
Jose Cruz8-Oct-02 5:35 
GeneralRe: Help with Error Pin
Stephane Rodriguez.8-Oct-02 5:49
Stephane Rodriguez.8-Oct-02 5:49 
GeneralRe: Help with Error Pin
Jose Cruz8-Oct-02 6:23
Jose Cruz8-Oct-02 6:23 
GeneralRe: Help with Error Pin
Stephane Rodriguez.8-Oct-02 6:24
Stephane Rodriguez.8-Oct-02 6:24 
GeneralRe: Help with Error Pin
Michael Dunn8-Oct-02 19:10
sitebuilderMichael Dunn8-Oct-02 19:10 
GeneralRe: Help with Error Pin
Le centriste21-Oct-02 18:15
Le centriste21-Oct-02 18:15 
General<map>memory freeing issue Pin
fordge7-Oct-02 20:56
fordge7-Oct-02 20:56 
GeneralRe: <map>memory freeing issue Pin
Paul M Watt8-Oct-02 7:04
mentorPaul M Watt8-Oct-02 7:04 
First of all, you are only dealing with a very small amount of memory in the example code that you have shown. 100 integers or 400 bytes plus whatever the map requires internally to manage the state of the data. This is much less than the amount of memory required in one virtual page of memory that is probably between 4 - 16 KB on your machine.

The memory manager often will allocate a new page and cache the excess memory in order to make newer requests more efficient later. So even though you have cleared out your map, the memory manager is still going to hold on to the memory.

There is really nothing that you can or need to do. What you are seeing is not a problem.


Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!

GeneralRe: <map>memory freeing issue Pin
Todd Smith8-Oct-02 14:01
Todd Smith8-Oct-02 14:01 
GeneralATL Error: i386\chkesp.c (ADO) Pin
leonwoo7-Oct-02 19:35
leonwoo7-Oct-02 19:35 
GeneralNeed help--> BSTR in ATL Pin
leonwoo6-Oct-02 22:29
leonwoo6-Oct-02 22:29 
GeneralRe: Need help--> BSTR in ATL Pin
Nick Parker7-Oct-02 2:00
protectorNick Parker7-Oct-02 2:00 
GeneralRe: Need help--> BSTR in ATL Pin
leonwoo7-Oct-02 15:57
leonwoo7-Oct-02 15:57 
GeneralRe: Need help--> BSTR in ATL Pin
Nick Parker8-Oct-02 3:19
protectorNick Parker8-Oct-02 3:19 
GeneralRe: Need help--> BSTR in ATL Pin
Michael Dunn7-Oct-02 4:35
sitebuilderMichael Dunn7-Oct-02 4:35 
GeneralRe: Need help--> BSTR in ATL Pin
Nick Parker7-Oct-02 8:01
protectorNick Parker7-Oct-02 8:01 
GeneralRe: Need help--> BSTR in ATL Pin
Michael Dunn7-Oct-02 8:13
sitebuilderMichael Dunn7-Oct-02 8:13 
GeneralRe: Need help--> BSTR in ATL Pin
Nick Parker7-Oct-02 8:37
protectorNick Parker7-Oct-02 8:37 
GeneralYou are great...... Pin
leonwoo7-Oct-02 14:43
leonwoo7-Oct-02 14:43 
GeneralDifference between ReleaseMinSize and ReleaseMinDependency Pin
ahsanjamal6-Oct-02 19:28
ahsanjamal6-Oct-02 19:28 
GeneralRe: Difference between ReleaseMinSize and ReleaseMinDependency Pin
Michael Dunn7-Oct-02 4:39
sitebuilderMichael Dunn7-Oct-02 4:39 
QuestionATL and Threads... where to start? Pin
LukeV4-Oct-02 11:04
LukeV4-Oct-02 11:04 
AnswerRe: ATL and Threads... where to start? Pin
Michael Dunn4-Oct-02 11:45
sitebuilderMichael Dunn4-Oct-02 11:45 
GeneralRe: ATL and Threads... where to start? Pin
LukeV7-Oct-02 3:21
LukeV7-Oct-02 3:21 
GeneralRe: ATL and Threads... where to start? Pin
Michael Dunn7-Oct-02 4:40
sitebuilderMichael Dunn7-Oct-02 4:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.