Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign

observation on memory consumption

<< < (4/11) > >>

thomas:

--- Quote ---Interesting is that after closing it and do some work with another application (e.g., IE, Word) and later checking the memory consumption of C::B, the value is of only 2-4 MB.
--- End quote ---
This is a Windows malfunction. The Windows marketing FUD for this is "working set optimization" or something, but it is really a malfunction.

If you minimize an application, Windows purges most of its memory pages, no matter whether it needs the RAM or not. The "reasoning" behind this is that it is good to have a lot of free RAM, but in fact it only proves that they don't know the difference between "nano" and "milli". Purging memory pages when you don't need to is really, really stupid.

mandrav:

--- Quote from: tiwag on January 27, 2006, 02:08:16 pm ---
--- Quote ---... but it is a lot easier to recompile wxWidgets in debug mode

--- End quote ---

to build CB with wx-debug libs is easy, but it doesn't run,

i've done this already but couldn't solve the never ending assertions ...

it seems, that any eventhandler inside CB throws assertions all the time - if this could be solved, we can debug the memory leaks

--- End quote ---

Strange, I have removed all the assertions I could find (last week, IIRC). Maybe it's been some time since you tried it?

tiwag:

--- Quote from: mandrav on January 27, 2006, 02:22:11 pm ---
--- Quote from: tiwag on January 27, 2006, 02:08:16 pm ---
--- Quote ---... but it is a lot easier to recompile wxWidgets in debug mode

--- End quote ---

to build CB with wx-debug libs is easy, but it doesn't run,

i've done this already but couldn't solve the never ending assertions ...

it seems, that any eventhandler inside CB throws assertions all the time - if this could be solved, we can debug the memory leaks

--- End quote ---

Strange, I have removed all the assertions I could find (last week, IIRC). Maybe it's been some time since you tried it?

--- End quote ---

thx for the info,
last time i did was about 3 weeks before ;-)

 

thomas:

--- Quote from: thomas on January 27, 2006, 01:16:01 pm ---but it is a lot easier to recompile wxWidgets in debug mode
--- End quote ---
Well, I may have been a bit hasty in my judgement here. In fact, it is not easy to get it to work, at all. :lol:

tiwag:
i just finished with building a WXDEBUG build of C::B  (added __WXDEBUG__ to Project's Compiler #definitions, and changed custom variable WX_SUFFIX=ud )

it runs, but crashes when attempting to load CodeBlocks.cbp :(

but a small console project, which i have built with the NewProject generator, loads and works without problems ;-)
not all hope is lost ...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version