Author Topic: Question regarding Code::Block's Memory Consumption  (Read 1672 times)

Offline chikigai

  • Multiple posting newcomer
  • *
  • Posts: 33
Question regarding Code::Block's Memory Consumption
« on: May 17, 2007, 11:03:54 am »
Quick question regarding the memory consumption of Code::Blocks.
Did a search on the forums, but couldn't find any recent related topics.

I'm using the Nightly Build SVN 3964 released on May 14th, 2007 under Windows XP Pro SP2.
I have wxSmith completely disabled. Code completion is enabled. Symbol browser is open.

1) I open a workspace with 2 projects containing about 80 odd files (*.c and *.h) with no files open.
At this point, CB consumes about 30M memory and 30M virtual memory.

2) Open about 4 source files (adding up to about 1700 lines).
CB now consumes 200M memory and 200M virtual memory.

3) Close one of the files and open it again.
CB now consumes 230M memory and 230M virtual memory.

4) Close all files.
CB now consumes 260M memory and 250M virtual memory.

5) Minimize CB, and Maximize.
CB now consumes 9M memory and 250M virtual memory.

Is this behavior normal?
By repeating 3), XP loses virtual memory at a very fast pace.


Cheers,
Dan
[Development Environment]
OS: WinXP SP3
IDE: Code::Blocks Nightly Build SVN Rev.6080 wxWidgets: 2.8.10 Windows Unicode Build SVN: 1.6.x