Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / Memory leak issue

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Memory leak issue
#3319
Posted by: 2004-02-06 11:38:19
Hi,
I am running a big for loop that when running uninterrupted it is eating 110 MB of memory. However, if I insert breakpoints and run it step by step (same process, all the way) it doesn't eat any memory (as it is supposed to) as reported from windows task manager.

Any ideas why?

Thanks
Message2. Re: Memory leak issue
#4705
Posted by: 2004-07-02 13:51:44
All memory management is compiler based and also depends on the type of memory model. While executing the same program using breakpints and in step mode, the comiler uses heap to manage memory together with allowing only a limited amount of space to be allocated..
while running u r running exe format which is self managed and needs no compiler...

Bye
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Wed 2024-12-11  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0