Click here to Skip to main content
15,913,709 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Asynchronous sockets Pin
Aescleal5-Jun-10 19:36
Aescleal5-Jun-10 19:36 
AnswerRe: Asynchronous sockets Pin
Moak6-Jun-10 8:06
Moak6-Jun-10 8:06 
GeneralRe: Asynchronous sockets Pin
onyxbird6-Jun-10 8:21
onyxbird6-Jun-10 8:21 
GeneralRe: Asynchronous sockets Pin
Moak6-Jun-10 10:13
Moak6-Jun-10 10:13 
GeneralRe: Asynchronous sockets Pin
onyxbird7-Jun-10 12:02
onyxbird7-Jun-10 12:02 
AnswerRe: Asynchronous sockets Pin
Mauro Leggieri6-Jun-10 9:11
Mauro Leggieri6-Jun-10 9:11 
GeneralRe: Asynchronous sockets Pin
onyxbird7-Jun-10 12:03
onyxbird7-Jun-10 12:03 
QuestionHow to Save Picture(Image) Pin
voo doo125-Jun-10 15:44
voo doo125-Jun-10 15:44 
AnswerRe: How to Save Picture(Image) [modified] Pin
Niklas L6-Jun-10 9:51
Niklas L6-Jun-10 9:51 
GeneralRe: How to Save Picture(Image) Pin
voo doo127-Jun-10 2:53
voo doo127-Jun-10 2:53 
GeneralRe: How to Save Picture(Image) Pin
Niklas L7-Jun-10 3:57
Niklas L7-Jun-10 3:57 
Questionhow to paint a bitmap to the dialog client dc from the memory dc Pin
Krauze5-Jun-10 14:54
Krauze5-Jun-10 14:54 
AnswerRe: how to paint a bitmap to the dialog client dc from the memory dc Pin
Niklas L6-Jun-10 11:15
Niklas L6-Jun-10 11:15 
QuestionHow to overlay Direct3d model in live webcam feed Pin
GreenGiant835-Jun-10 8:58
GreenGiant835-Jun-10 8:58 
QuestionHelp with hash tables in C Pin
arnluci5-Jun-10 6:48
arnluci5-Jun-10 6:48 
AnswerRe: Help with hash tables in C Pin
Luc Pattyn5-Jun-10 8:10
sitebuilderLuc Pattyn5-Jun-10 8:10 
GeneralRe: Help with hash tables in C Pin
arnluci5-Jun-10 11:09
arnluci5-Jun-10 11:09 
GeneralRe: Help with hash tables in C Pin
Luc Pattyn5-Jun-10 11:31
sitebuilderLuc Pattyn5-Jun-10 11:31 
GeneralRe: Help with hash tables in C Pin
Saurabh.Garg6-Jun-10 2:16
Saurabh.Garg6-Jun-10 2:16 
GeneralRe: Help with hash tables in C [modified] Pin
arnluci21-Jun-10 10:31
arnluci21-Jun-10 10:31 
Questionwhy does it use so many memory [modified][Solved] Pin
yu-jian5-Jun-10 5:25
yu-jian5-Jun-10 5:25 
AnswerRe: why does it use so many memory Pin
Aescleal5-Jun-10 6:17
Aescleal5-Jun-10 6:17 
GeneralRe: why does it use so many memory Pin
yu-jian6-Jun-10 3:10
yu-jian6-Jun-10 3:10 
GeneralRe: why does it use so many memory Pin
Aescleal6-Jun-10 7:18
Aescleal6-Jun-10 7:18 
Cool, not surprised it eats RAM in debug - 80 bytes per tree node isn't that unreasonable.

As for release mode, have you considered looking at the source code for map to find out how big each node is? Presumably not as on one compiler I use each node contains three pointers, the data and the key. For a 32 bit machine that's 20 bytes and the allocator rounds everything up to the nearest multiple of 16 (so that 20 bytes becomes 32...) giving you ~ 320Mb.

So you're getting the correct magnitude, I wouldn't worry about it.

Ash
AnswerRe: why does it use so many memory Pin
Hristo-Bojilov5-Jun-10 6:24
Hristo-Bojilov5-Jun-10 6:24 

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.