Click here to Skip to main content
16,013,207 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalmessage map question Pin
ns27-Dec-02 5:22
ns27-Dec-02 5:22 
GeneralRe: message map question Pin
valikac27-Dec-02 6:07
valikac27-Dec-02 6:07 
GeneralRe: message map question Pin
ns27-Dec-02 6:09
ns27-Dec-02 6:09 
Generalvideo capture.... Pin
joshfl27-Dec-02 3:51
joshfl27-Dec-02 3:51 
GeneralMemory Leak with MSXML3 Pin
tmasm27-Dec-02 3:19
tmasm27-Dec-02 3:19 
GeneralReal code? Pin
27-Dec-02 3:56
suss27-Dec-02 3:56 
GeneralRe: Real code? Pin
tmasm27-Dec-02 4:31
tmasm27-Dec-02 4:31 
GeneralRe: Real code? Pin
AlexO27-Dec-02 4:53
AlexO27-Dec-02 4:53 
I assume that 'CComPtr' is really 'CComPtr<ixmldomdocument2>'. You are right there seems to be no leak point, except for 'BSTR *docOut', but it is used from script so we can assume it is released.
'mOut=CComBSTR(L"Error").Detach();' seems suspicious, but it would not leak mach anyway.


2. From our experience with MSXML we noticed that they preallocate memory with factor of 10 to size of actual document and it is not always released right the way, which in IIS environment could be frustrating. Plus if you use something like USES_CONVERSION it has the same simptoms because it uses stack memory allocation. Depends how big your leak is. I guess you can try your stress for couple of hours(days), see if you run out of memory. It could be normal IIS opertaion not to recicle until you reach phisical memory limit.
GeneralRe: Real code? Pin
tmasm27-Dec-02 5:02
tmasm27-Dec-02 5:02 
GeneralRe: Memory Leak with MSXML3 Pin
Navin27-Dec-02 7:01
Navin27-Dec-02 7:01 
GeneralCustomization of Build Pin
gracias_carol27-Dec-02 1:58
gracias_carol27-Dec-02 1:58 
GeneralWhat kind of customization? Pin
AlexO27-Dec-02 4:04
AlexO27-Dec-02 4:04 
GeneralRe: What kind of customization? Pin
gracias_carol29-Dec-02 23:07
gracias_carol29-Dec-02 23:07 
Generalifstream and skipws Pin
georgiek5027-Dec-02 1:15
georgiek5027-Dec-02 1:15 
GeneralRe: ifstream and skipws Pin
Taka Muraoka27-Dec-02 1:24
Taka Muraoka27-Dec-02 1:24 
GeneralHelp me to Release Resources! Pin
HellShrimp4free27-Dec-02 0:23
HellShrimp4free27-Dec-02 0:23 
GeneralRe: Help me to Release Resources! Pin
Mike Nordell27-Dec-02 1:05
Mike Nordell27-Dec-02 1:05 
GeneralGlobals and condition compilation Pin
georgiek5026-Dec-02 22:39
georgiek5026-Dec-02 22:39 
GeneralRe: Globals and condition compilation Pin
Roger Allen27-Dec-02 0:05
Roger Allen27-Dec-02 0:05 
GeneralRe: Globals and condition compilation Pin
georgiek5027-Dec-02 1:14
georgiek5027-Dec-02 1:14 
GeneralMemory Address Interpretation Pin
Dominik Reichl26-Dec-02 22:20
Dominik Reichl26-Dec-02 22:20 
GeneralRe: Memory Address Interpretation Pin
Joaquín M López Muñoz26-Dec-02 22:34
Joaquín M López Muñoz26-Dec-02 22:34 
GeneralRe: Memory Address Interpretation Pin
Dominik Reichl27-Dec-02 0:29
Dominik Reichl27-Dec-02 0:29 
GeneralRe: Memory Address Interpretation Pin
Mike Nordell27-Dec-02 1:12
Mike Nordell27-Dec-02 1:12 
GeneralRe: Memory Address Interpretation Pin
Dominik Reichl27-Dec-02 3:43
Dominik Reichl27-Dec-02 3:43 

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.